1 This page describes the procedure for accessing and using our off-site backups. Only admins can do this -- if you want to get some file or directory back from the dead and are not an admin, please contact the hcoop-sysadmin list for assistance.
3 == Backups of AFS Volumes ==
8 ssh FOO_admin@deleuze.hcoop.net
13 === Navigating the available backups ===
16 cd /afs/megacz.com/hcoop-backup/
18 cd $DESIRED_BACKUP_DATE
21 === Restoring the volume dump to a volume with a new name ===
24 cat $VOLNAME.dump.bz2.aescrypt | \
25 ccrypt -cdk /etc/backup-encryption-key | \
27 vos restore deleuze /vicepa $VOLNAME.restored
30 === Mounting the newly restored volume onto the filesystem ===
33 fs mkm /afs/hcoop.net/.old/tmp-mount $VOLNAME.restored
37 === Restoring a particular file ===
40 # examine /afs/hcoop.net/.old/tmp-mount
43 === Unmounting the restored volume ===
46 fs rm /afs/hcoop.net/.old/tmp-mount
49 === Renaming the restored volume so it takes the place of the damaged/corrupted/erased volume ===
51 Do this if you want to restore an entire volume. This deletes the old volume and replaces it with the backup.
55 vos rename $VOLNAME.restored $VOLNAME
58 === Removing the restored volume ===
60 If you only wanted to restore a few files from the volume, you should remove the local copy of the backup volume when done.
63 vos remove -id $VOLNAME.restored
66 == Database Backups ==
69 cat databases.tar.bz2.aescrypt | \
70 ccrypt -cdk /etc/backup-encryption-key | \