welcome: please sign in

Diff for "BackupInfo"

Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2007-08-25 21:09:57
Size: 282
Editor: dhcp-37-80
Comment:
Revision 3 as of 2007-08-27 15:23:22
Size: 806
Editor: MichaelOlson
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

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

BackupInfo (last edited 2019-03-31 19:34:13 by ClintonEbadi)