DataFlex.wiki backup: Difference between revisions
From DataFlex Wiki
Jump to navigationJump to search
m New page: === Backup === Here are some quick notes about the backup routines for vdfwiki.com *Backups of vdfwiki.com are now available by request *http://www.mediawiki.org/wiki/Manual:Moving_a_wiki... |
mNo edit summary |
||
Line 1: | Line 1: | ||
=== Backup === | === Backup === | ||
Here are some quick notes about the backup routines for vdfwiki.com | Here are some quick notes about the backup routines for vdfwiki.com. They consist of shell scripts running on a offsite server. | ||
*Backups of vdfwiki.com are now available by request | *Backups of vdfwiki.com are now available by request |
Revision as of 13:21, 31 March 2008
Backup
Here are some quick notes about the backup routines for vdfwiki.com. They consist of shell scripts running on a offsite server.
- Backups of vdfwiki.com are now available by request
- http://www.mediawiki.org/wiki/Manual:Moving_a_wiki
- take snapshots of mysql dump and mediawiki settings (using cygwin)
- tablesfile=vdfwiki-$(date +%Y%m%d).sql
- mysqldump -u root -p > $(tablesfile)
- mysqldump -u wikiuser -p wikidb > $(tablesfile)
- snapshot=vdfwiki-$(date +%Y%m%d).tbz
- tar cjf $(snapshot)
- do a automated batch script that uploads the snapshots (cron)
- Compression (bzip2): http://gnuwin32.sourceforge.net/packages/bzip2.htm
- offsite 1: Jacobs home server
- offsite 2: DAE ftp server