MySQL-DB Backup and Restore

From Wiki Against Mines

Jump to: navigation, search

Back to installation manual.

Backup and Restore the MediaWiki Database

To backup the whole database, simply use the following Linux-Command:

 mysqldump -p DATABASE > DATABASE.dump

Please replace "DATABASE" with the Name of your MediaWiki Database. The stored database (DATABASE.dump) is located in your actual directory.

To restore the database, simply use this command:

 mysql -p --database=DATABASE < DATABASE.dump


Assessment

Please answer the following the questions. For checking please klick the button “marking”.


Continue with and Back to installation manual.

Personal tools