[169] in SIPB-AFS-requests

home help back first fref pref prev next nref lref last post

Backups using the Transarc backup system.

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Sun Feb 4 22:48:00 1990

Date: Sun, 4 Feb 90 22:47:15 -0500
From: Bill Sommerfeld <wesommer@ATHENA.MIT.EDU>
To: sipb-afsreq@ATHENA.MIT.EDU
Cc: vice-squad@ATHENA.MIT.EDU
[CC'ed to vice-squad for information]

Well, I just backed up *all* the volumes on ronald-ann using the new
AFS backup system.  The backup is now sitting on tape 1.

What's going on here:

The AFS backup system has "dump schedules" and "volume sets".  "sipb"
is a volume set (all the interesting volumes in the SIPB cell), and
"full_1", "full_2", etc, is a dump schedule.

Tape names are of the form:

	"<volume set>.<dump schedule>.<tape volume>" 

where <tape volume> starts at 1 (and presumably goes up by one if the
dump doesn't fit on one tape; not likely given that we only have one
GigInABox in the sipb-cell.

Here's how to do another full backup:

The way to do this is to log into Oliver, set things up so that you
can write to everything under /usr/afs/backup and are aklog'ed as a
superuser for the SIPB cell.  It's probably easiest to log in as root
and then kinit.

First, you have to make the default cell of oliver be the sipb cell;
type "echo sipb.mit.edu >/usr/vice/etc/ThisCell".

Now, you have to create backup volumes for all the volumes you want
to use.  To do this, type "vos backupsys -server ronald-sipb -verbose"
and wait about five minutes for it to finish.  

Then, create at least two windows.

In one window, run /afs/sipb/service/@sys/butc.  This is the "tape
controller" program.

In the other window, run /afs/sipb/service/@sys/backup.  This is the
backup control program.

Now you need to label the backup tape.  To do this, type 
"label sipb.full_2.1" to the "backup" window.  BUTC will prompt you to insert
a tape in the tape drive.  Insert tape 2 in the drive and close the
door.  Wait for the little green light to turn on.  Then hit "return"
in the butc window, and wait about a minute; the system will spend
time labelling the tape.

Once the tape is labelled, you never need to re-label it, and butc
won't write to an improperly labelled tape.

To actually do the backup, type "dump sipb full_2" to the backup
window.  The system will sit there for about a minute or two while it
collects the list of volumes to dump; then the BUTC window will ask
you to put in "sipb.full_2.1".  As before, make sure the little green
light is on solid before hitting return.

Then the bits will start to flow.  You want to iconfigy the butc
window, as it prints a status message after every 100KB dumped (or one
message every 2 seconds), and this slows down dumping 'cause the VS2's
X server is so slow.

When it's done, it will rewind the tape.  

I started a full dump around 5:00; it finished at around 9:30.

Don't forget to set the default cell back to athena when you're done.

The backup system also supports incremental dumps, but I haven't tried
that feature yet.

					- Bill

home help back first fref pref prev next nref lref last post