border
Print

Backup policy

Backups are controlled by the host backup.XXX.com.

Backup directorys

The backups are rdiff-backups located in /home/backup/HOSTNAME and /home/archive/HOSTNAME (for machines we no longer care about but who need to be archived just incase)

- Currently in /home/backup/HOSTNAME/ we keep a number of days of rdiff-backup:

  • /home (excluding /home/tmp /home/backup home/logs)
  • /etc
  • /root

Also copied over (just in their current state) are:

  • /home/logs

To see the last backup date for /home on all hosts:
<code>
ls -la /home/backup/*/*/.lastbackup
</code>

Use man rdiff-backup if you need to restore or look for a version at a specific date

The backup code

Cron runs the script /home/sysadmin/backup/do_backup.sh every night
That script lists all the hosts to backup.
- Each host has:

  • it's mysql dumped into /home/mysql
  • /home, /etc, /root are all then rdiff-backup'ed over to backup
  • /home/logs is copied over too

Page last modified on Tuesday 10 of August, 2010 13:17:27 UCT

Post new comment

Click for Help
BoldItalicUnderlineStrikethroughExternal Link
Anti-Bot verification code: Random Image
Post new comment

border