Backing Up Wiki

From GNU Radio
Revision as of 16:31, 21 June 2018 by 777arc (talk | contribs) (Created page with "According to [https://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki this] there are three different things you want to backup: # Database dump, e.g. mysqldump -h hostname -u...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

According to this there are three different things you want to backup:

  1. Database dump, e.g. mysqldump -h hostname -u userid -p --default-character-set=whatever dbname > backup.sql
  2. Create .tar of file system, which contains images and local config settings, e.g. tar zcvhf wikidata.tgz /srv/www/htdocs/wiki
  3. 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.