|
Backup and Restore on Linux |
Contents Previous Next |
Upgrading KnowledgeTree > Backing up and Restoring > Backup and Restore on Linux
|
This procedure saves your database to a file (e.g. dump.sql) and restores your database from the file where it was backed up (Linux users).
Perform the following steps:
./mysqldump --socket= KnowledgeTree_Directory/mysql/tmp/mysql.sock -u dmsadmin -p dms > dump.sql Note: This command saves the database to dump.sql
./mysql --socket= KnowledgeTree_Directory/mysql/tmp/mysql.sock -u dmsadmin -p dms < dump.sql
|