Size: 282
Comment:
|
Size: 806
Comment: Refactor into separate sections
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
This page describes the procedure for accessing and using our off-site backups. == Getting access == |
|
Line 2: | Line 6: |
ssh FOO_admin@deleuze | ssh FOO_admin@deleuze.hcoop.net |
Line 5: | Line 9: |
}}} | |
Line 6: | Line 11: |
== Navigating the available backups == {{{ |
|
Line 9: | Line 17: |
}}} | |
Line 10: | Line 19: |
cat $DESIRED_VOLUME_TO_RESTORE | \ | == Mounting a backup volume == {{{ cat $VOLNAME.dump.bz2.aescrypt | \ |
Line 13: | Line 25: |
vos restore deleuze /vicepa $DESIRED_NAME_OF_RESTORED_VOLUME | vos restore deleuze /vicepa $VOLNAME.restored fs mkm /afs/hcoop.net/.../tmp-mount $VOLNAME.restored |
Line 15: | Line 29: |
== Restoring a particular file == {{{ # examine /afs/hcoop.net/.../tmp-mount }}} == Unmounting the backup volume == {{{ fs rm /afs/hcoop.net/.../tmp-mount vos remove $VOLNAME vos rename $VOLNAME.restored $VOLNAME do-singing-and-rejoicing-thing }}} |
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 vos remove $VOLNAME vos rename $VOLNAME.restored $VOLNAME do-singing-and-rejoicing-thing