Manually backup a wiki

From Organic Design wiki
Revision as of 02:28, 8 September 2008 by Nad (talk | contribs) (New page: {{procedure |role = sysop }} There is...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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}}}