Backing Up Wiki
Jump to navigation
Jump to search
According to this there are three different things you want to backup:
- Database dump, e.g. mysqldump -h hostname -u userid -p --default-character-set=whatever dbname > backup.sql
- Create .tar of file system, which contains images and local config settings, e.g. tar zcvhf wikidata.tgz /srv/www/htdocs/wiki
- XML dump, contains content of wiki, technically a subset of the information in the database backup but it's good to have in case the database backup becomes unusable due to version issues or whatnot. Performed using command-line tool dumpBackup.php, located in the maintenance directory.