Backup Process
From Oramosswiki
This is the process I use to backup my data.
The process backs up the following:
- The Oramoss Wiki
- The MySQL database, which covers Wiki and Wordpress
- All datafiles from /u01 to /mirror_backup - local copy on different spindles
- All datafiles from /u01 to /MEDIA/BACKUP - for offsite backup
The following steps are to be undertaken every week:
- Make a change (even an innocuous one) to the Blog - something to look for later on VENICE, to ensure the process has worked.
- Start PEDRO machine
- On NORAH laptop, start Toad For MySQL (Freeware)
- Using Toad, log on to oramoss.com
- Take a SQL dump of the "wiki_oramoss_com" database. Backup to be called "E:\data\oramoss\wiki\DDMONYYYY.sql" and for Structure and Data as well. Leave default options.
- Start VENICE VM machine
- Transfer the SQL dump file from PRAGUE to VENICE using FileZilla. Copy the file to "/home/jeff/Download" on VENICE.
- On VENICE, bring up a terminal and su to root.
- cd to /home/jeff/Download
- Drop the "wiki_oramoss_com" database from VENICE by issuing "mysqladmin -p drop wiki_oramoss_com". Password is root password.
- Create a new "wiki_oramoss_com" database on VENICE by issuing "mysql -p < 06JAN2010.sql" - change the filename to suit, of course.
- Run the MediaWiki from VENICE and check that the most recent change (from #1) is present
- IF any files in the skin have changed, then copy GuMax.php and GuMax.deps.php from /skins on oramoss.com to VENICE and also the gumax directory.
- Copy all files from /u01 to /mirror_backup using /u01/ backup_internal.sh
- Copy all files from /u01 to /MEDIA/BACKUP using /u01/ backup_external.sh
