I've got a mixture of ufs and advfs on a box running Digital UNIX
V3.2C and I'd like to dump and restore the partitions remotely to a
tape drive on an old ultrix box. Everything works fine using rdump
and rrestore if I only include the ufs file systems with commands
like:
rdump -f andromeda:/dev/nrmt1h -0 -u -d 4137733 -s 12500 /dev/rz0a
rdump -f andromeda:/dev/nrmt1h -0 -u -d 4137733 -s 12500 /dev/rz0g
rdump -f andromeda:/dev/rmt1h -0 -u -d 4137733 -s 12500 /dev/rz1c
onto a single tape. When I rrrestore I just skip to the appropriate
file on the tape and proceed usually using the rrestore -i option for
interactive restorations.
My basic problem is that there is no real rvdump or rvrestore for the
advfs. I do manage to get backups of the stuff using:
vdump -0 -C -u -b 64 -f - /usr/users | rsh -l user andromeda /bin/dd of=/dev/nrmt1h bs=64k
rdump -f andromeda:/dev/nrmt1h -0 -u -d 4137733 -s 12500 /dev/rz0a
rdump -f andromeda:/dev/nrmt1h -0 -u -d 4137733 -s 12500 /dev/rz0g
rdump -f andromeda:/dev/rmt1h -0 -u -d 4137733 -s 12500 /dev/rz1c
which combines everything into files on the tape but interactive
restoration is problematic. You can't issue a command like:
rsh -l user andromeda /bin/dd if=/dev/nrmt1h bs=64k | vrestore -i -f -
effectively. It doesn't work. You're left with no interactive
restoration. If you skip over the first file using the -s switch to
rrestore, then you can get interactive restorations of the ufs file
systems but not for the advfs. Ideas?
--
Don H. Olive, Physics Department don_at_campbellsvil.edu
Campbellsville University http://www2.campbellsvil.edu/~don
CPO 1265, One University Drive +1.502.789.5243 voice/+1.502.789.5170 fax
Campbellsville KY, 42718 USA PGP: finger don_at_cygnus.campbellsvil.edu
Received on Mon Sep 22 1997 - 16:49:24 NZST