welcome: please sign in

Diff for "BackupInfo"

Differences between revisions 4 and 6 (spanning 2 versions)
Revision 4 as of 2007-08-27 18:39:02
Size: 867
Editor: MichaelOlson
Comment: Split further
Revision 6 as of 2007-08-27 21:14:42
Size: 1353
Editor: dhcp-37-80
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
== Getting access == == Mounting the backup volume ==

=
== Getting access ===
Line 11: Line 13:
== Navigating the available backups == === Navigating the available backups ===
Line 19: Line 21:
== Mounting a backup volume == === Restoring the volume dump to a volume with a new name ===
Line 26: Line 28:
}}}
Line 27: Line 30:
=== Mounting the newly restored volume onto the filesystem ===

{{{
Line 36: Line 42:
== Unmounting the backup volume == == Unmounting the restored volume ==
Line 42: Line 48:
== Restoring an entire volume from backups == == Renaming the restored volume so it takes the place of the damaged/corrupted/erased volume ==

Do this if you want to restore an entire volume. This deletes the old volume and replaces it with the backup.
Line 47: Line 55:
}}}
Line 48: Line 57:
do-singing-and-rejoicing-thing == Removing the restored volume ==

If you only wanted to restore a few files from the volume, you should remove the local copy of the backup volume when done.

{{{
vos remove $VOLNAME.restored

This page describes the procedure for accessing and using our off-site backups.

1. Mounting the backup volume

1.1. Getting access

ssh FOO_admin@deleuze.hcoop.net

aklog -c megacz.com

cd /afs/megacz.com/hcoop-backup/

cd $DESIRED_BACKUP_DATE

1.3. Restoring the volume dump to a volume with a new name

cat $VOLNAME.dump.bz2.aescrypt | \
  ccrypt -cdk /etc/backup-encryption-key | \
  bunzip2 | \
  vos restore deleuze /vicepa $VOLNAME.restored

1.4. Mounting the newly restored volume onto the filesystem

fs mkm /afs/hcoop.net/.../tmp-mount $VOLNAME.restored

2. Restoring a particular file

# examine /afs/hcoop.net/.../tmp-mount

3. Unmounting the restored volume

fs rm /afs/hcoop.net/.../tmp-mount

4. Renaming the restored volume so it takes the place of the damaged/corrupted/erased volume

Do this if you want to restore an entire volume. This deletes the old volume and replaces it with the backup.

vos remove $VOLNAME
vos rename $VOLNAME.restored $VOLNAME

5. Removing the restored volume

If you only wanted to restore a few files from the volume, you should remove the local copy of the backup volume when done.

vos remove $VOLNAME.restored

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