Sysadmin:Old:Backups

From Earlham CS Department
Jump to navigation Jump to search

In Progress: Tapes

Note: You may need to powercycle the server if the changer is not responding. This may involve physically removing power if an instant reboot doesn't fix it.

Current Setup

Rsnapshot takes copies of files off Quark (by ssh), 41's internal IP (by SSH), hopper (nfs), and bobsced0 (nfs). The current rsnapshot schedule is as follows. Update: 6/19/09 - We switched to using ssh with hopper and bobsced0 because we were seeing odd behavior with the cluster mounts after moving to 42. Update: 7/8/11 - Hoping to reduce some network load on quark, so: - Removed the 7 and 19 entries for hourly. - Moved the 20 to 16 in hourly (since it takes about 2 hours to start, and not much work seems to get done at 18).

forty-two$ cat /etc/cron.d/rsnapshot

0  0,16	* * *	root	/usr/bin/rsnapshot hourly
0  3  	* * *		root	/usr/bin/rsnapshot daily
0  6  	* * 1		root	/usr/bin/rsnapshot weekly
0  2  	1 * *		root	/usr/bin/rsnapshot monthly

This translates to a week looking roughly like this. Keep in mind that each backup takes approximately an hour and a half to complete (not shown below for simplicity). In addition, a backup is run the first of every month at 2:00 a.m.

' Sunday Monday Tuesday Wednesday Thursday Friday Saturday
12:00 AM
Hourly
Hourly
Hourly
Hourly
Hourly
Hourly
Hourly
01:00 AM
02:00 AM
03:00 AM
Daily
Daily
Daily
Daily
Daily
Daily
Daily
04:00 AM
05:00 AM
06:00 AM
Weekly
07:00 AM
08:00 AM
...
03:00 PM
04:00 PM
Hourly
Hourly
Hourly
Hourly
Hourly
Hourly
Hourly
05:00 PM
06:00 PM
07:00 PM
08:00 PM