[OpenAFS] Backup operations...

Charles Karney ckarney@sarnoff.com
Thu, 6 Sep 2001 14:12:36 -0400 (EDT)


Brief tape backup instructions:

    assume AFS server is afsserver.cell.com,

    assume tape is connected to AFS server on /dev/nst0 and has approx
    100GB capacity (this can be an overestimate in the case of a drive with
    compression).

All of these steps should be carried out as root on one of your AFS servers
(so that -local works).

Configuration:

    echo 10G 0K /dev/nst0 0 > /usr/afs/backup/tapeconfig:

    backup -local
    addhost afsserver.cell.com 0
    addvolset all
    addvolentry all -server .* -partition .* -volumes .*\.backup
    adddump /full -exp 1y
    adddump /full/monthly -exp 1y
    adddump /full/monthly/weekly -exp 2m
    adddump /full/monthly/weekly/daily -exp 14d
    quit

Prep for dump:

    vos backupsys -local

The actual dump

    In window A:
        butc 0 -local

    In window B
        backup dump all /full 0 -local

butc will propmt for tape changes.  screen is handy for managing the
multiple windows.

For full details see the chapters

    Configuring the AFS Backup System

and

    Backing Up and Restoring AFS Data

at

    http://www.transarc.ibm.com/Library/documentation/afs/3.6/unix/en_US/HTML/AdminGd/auagd002.htm

-- 
Charles Karney			Email:	ckarney@sarnoff.com
Sarnoff Corporation		Phone:	+1 609 734 2312
Princeton, NJ 08543-5300	Fax:	+1 609 734 2586