From: cdileo@forum.swarthmore.edu (Christopher DiLeo)
Subject: Re: vdump/vrestore Question
Date: 1997/07/25 [thread overview]
Message-ID: <cdileo-2507970938170001@euler.swarthmore.edu> (raw)
In-Reply-To: 5r5g1l$1c@wrdiss1.robins.af.mil
> >I have an Alpha 1000 running DU 3.2c The crontab entry that backs up
> >the
> >system is as follows..
> >
> >0 4 * * 2,5 /sbin/vdump -0 -N -u /
> >0 8 * * 2,5 /sbin/vdump -0 -N -u /usr
> >0 12 * * 2 /sbin/vdump -0 -u /data/spool
> >0 12 * * 5 /sbin/vdump -0 -N -u /data/spool
> >15 12 * * 5 /sbin/vdump -0 -u /data
Here is how I handle restores:
1) mt -f /dev/nrmt0h rewind
2) Now you have to figure out where on the tape what you want is located,
and fast forward as many files as necessary. First, about how stuff is
stored on the tape:
The filesystems are dumped in this order:
1. /
2. /usr
3. /var
4. /data/spool
5. /data/spool
6. /data
3) And so let's say you need to back up from the first
/data/spool...simply give the command:
mt -f /dev/nrmt0h fsf 3
(fast forward one less than the fileset you want to back up)
4) Then either vrestore the file:
vrestore -xf /dev/nrmt0h <filename>
_or_
Do an interactive restore:
vrestore -if /dev/nrmt0h
The interactive restore will show you what you can restore and stuff on
the current filesystem. I like this one best because you can see what you
are doing as opposed to just getting a silly error if you mess up on the
regular restore.
You can navigate through the fileset like you were moving through
directories and when you find the file you want to restore enter:
add <filename-or-dirname>
Once you are done adding (you can put as many on the queue for one fileset
as you'd like) type:
restore
and then you will back the files into the directory you were in when you
started the restore.
5) If you are going to be putting more backups on the tape, you need to
fast forward to the end of the tape by:
mt -f /dev/nrmt0h seod
I hope this helps.
christopher dileo
-------
sysadmin
the math forum
swarthmore college
-------
next prev parent reply other threads:[~1997-07-25 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-07-23 4:00 vdump/vrestore Question tim
1997-07-23 4:00 ` PAThomas
1997-07-25 4:00 ` Christopher DiLeo [this message]
1997-07-24 4:00 ` John D. Brown
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox