AFS Backups

From UGCS
Revision as of 20:47, 16 December 2008 by Jdhutchin@ugcs.caltech.edu (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

AFS backups are done through the AFS backup daemon. See the AFS administrator's guide for details on how this works.

We usually run a butc through a root screen session on persephone. To see if it's running, do "sudo screen -r" on persephone and see if it's there. You should run it with 'butc -localauth' so that its tokens won't expire.

You can see all the dumps in a hierarchical form by using the script /afs/.ugcs/ugcs-admin/sysadmin-utils/dumptree. /OffSiteQuarterly is for tapes that will go in the data vault, and /quarterly is for stuff that stays on-site. I try to keep quarterly and monthly backups on one tape, and then rotate out other tapes for weekly backups. You can run backups by running:

backup (this gets you into the interactive backup shell
dump homes /quarter/month#/week#/<day> (look in dumptree to see what the current month/week are
dump admin /quarter/month#/week#/<day>
<ctrl+c to quit the shell>

Ask Joshua if you have questions.

To restore, follow the documentation. It will prompt you for tapes, and you just put them in as it asks you.

Personal tools