Backups

From GigaTux Wiki
Revision as of 15:39, 23 April 2012 by Cocodude (talk | contribs)
Jump to navigation Jump to search

If you need to restore a backup, look at how backups are done on each VPS (script /usr/local/sbin/gigatux-backup.sh) and use the rdiff-backup --restore functionality to restore to an appropriate location. If a full VPS restore is required, create a new logical volume to do this (lvcreate) and change the relevant /etc/xen/xenXX file to point to this to test it out.

Removing

If a customer cancels their service which has a backup associated with it, we need to delete the backup. Use a command like the below to do this:

rdiff-backup --force -v3 --remove-older-than 0D [email protected]::/mnt/gigatux/backup-lvm-new/backup-xen-node00001-49