Manually backup a wiki

From Organic Design wiki
Revision as of 18:09, 24 February 2012 by Nad (talk | contribs) (First principles using mysqldump)
Procedure.svg Manually backup a wiki
Organic Design procedure

There is a backup script you can run called /var/www/backup.pl which currently backs up and compresses all the mysql databases for all wikis into one compressed file and names them all-yyyy-mm-dd.sql.7z. This will soon be updated to allow a parameter to specify a specific database and optional table prefix, and also an optional filename if the default file name is not appropriate.

Each database may contain more than one wiki, these will be uniquely identified using table prefixes.

First principles using mysqldump

Backup and compress DB & FS
7za a -si backupfile.sql.7z # Backup

tar cf - directory


{{{1}}}