Size: 806
Comment: Refactor into separate sections
|
Size: 867
Comment: Split further
|
Deletions are marked like this. | Additions are marked like this. |
Line 40: | Line 40: |
}}} == Restoring an entire volume from backups == {{{ |
This page describes the procedure for accessing and using our off-site backups.
1. Getting access
ssh FOO_admin@deleuze.hcoop.net aklog -c megacz.com
2. Navigating the available backups
cd /afs/megacz.com/hcoop-backup/ cd $DESIRED_BACKUP_DATE
3. Mounting a backup volume
cat $VOLNAME.dump.bz2.aescrypt | \ ccrypt -cdk /etc/backup-encryption-key | \ bunzip2 | \ vos restore deleuze /vicepa $VOLNAME.restored fs mkm /afs/hcoop.net/.../tmp-mount $VOLNAME.restored
4. Restoring a particular file
# examine /afs/hcoop.net/.../tmp-mount
5. Unmounting the backup volume
fs rm /afs/hcoop.net/.../tmp-mount
6. Restoring an entire volume from backups
vos remove $VOLNAME vos rename $VOLNAME.restored $VOLNAME do-singing-and-rejoicing-thing