Backups ======= Policy ------ o Local drives are not backup up. o /home1 should be backup up on a daily basis. o We use dump because it is a reasonable option and is what Dan and Alan already use with other systems. o Daily backup is based on weekly tape change (at least until the disk gets too full). =============================================================================== 4Aug98 - Simeon Warner Backup seem to be working nicely. Changing tape on Monday each week and intend to rotate 4 or 5 tapes. Used restore to list files on the tapes from last week and that seems good. =============================================================================== 14Jun98 - Simeon Warner Set up a crontab script for full backup on Monday night followed by a sequence of daily backups through until Sunday which will allow recovery requiring a maximum of 3 restore operations. For some reason doesn't work... exits with lots of lseek errors! =============================================================================== 13Jul98 - Simeon Warner Didn't work before becasue the version of dump I had could not handle more than 2GB in a partition. Replaced dump-0.3-10.i386.rpm (RH5.0 dist) with dump-0.3-13.i386.rpm (RH5.1 dist, no errata noted as of 13Jul98). Seemed to work okay with test backup. Crontab is: #root crontab for pop01 # # # Format of lines: #min hour daymo month daywk cmd # 00 01 * * 1 echo "From root crontab on pop01" | mail -s "CHANGE TAPE ON PoP" simeon@physics.syr.edu > /dev/null >2&1 30 23 * * 1 /root/backup/dump0_root; /root/backup/dump_home1 0 30 23 * * 2 /root/backup/dump_home1 9 30 23 * * 3 /root/backup/dump_home1 5 30 23 * * 4 /root/backup/dump_home1 9 30 23 * * 5 /root/backup/dump_home1 3 30 23 * * 6 /root/backup/dump_home1 9 30 23 * * 7 /root/backup/dump_home1 2 # ##### END ##### /root/backup/dump0_root is: #!/bin/csh # # level 0 dump of root partition set log = /root/backup/backup.log echo "" >> $log echo "$0 run at `date`" >> $log /sbin/insmod BusLogic /sbin/insmod st mt -f /dev/nst0 load mt -f /dev/nst0 rewind /sbin/dump 0uBf 7000000 /dev/nst0 / >>& $log /root/backup/dump_home1 is: #!/bin/csh # # param is dump level set log = /root/backup/backup.log echo "" >> $log echo "$0 run at `date`" >> $log /sbin/insmod BusLogic >& /dev/null /sbin/insmod st >& /dev/null /sbin/dump ${1}uBf 7000000 /dev/nst0 /home1 >>& $log ===============================================================================