Mediawiki: Difference between revisions
From James's Wiki
(Created page with "==Backing up the mysql database== sudo mysqldump --user=root --password=xxxxxxx my_wiki > file.sql sudo mysqldump --user=root --password=xxxxxxx my_wiki --xml > file.xml") |
No edit summary |
||
Line 1: | Line 1: | ||
==Backing up the mysql database== | ==Backing up the mysql database== | ||
sudo mysqldump --user= | sudo mysqldump --user=xxxxxxxx --password=xxxxxxx my_wiki > file.sql | ||
sudo mysqldump --user= | sudo mysqldump --user=xxxxxxxx --password=xxxxxxx my_wiki --xml > file.xml |
Revision as of 15:06, 7 January 2018
Backing up the mysql database
sudo mysqldump --user=xxxxxxxx --password=xxxxxxx my_wiki > file.sql
sudo mysqldump --user=xxxxxxxx --password=xxxxxxx my_wiki --xml > file.xml