SUMMARY: Remote backup of AdvFS

From: Bill Antoniadis <sysadmin_at_bloodstockwww.com>
Date: Fri, 06 Mar 1998 14:14:15 -0500 (EST)

Hi,
        I want to apologize for the delayed summary and thank everyone for their
prompt solutions to my problem.

Alan Davis' solution:
   It's documented in the ADVfs manual that comes with the advanced
utilities.

Here's the relevant bits :

Although AdvFS does not have a remote dump command equivalent to the UFS
rdump command, it is possible to dump
AdvFS files to remote locations. Use the vdump command on the local
host. Then access the remote host using the rsh
command and copy the file to tape with the dd command. To perform this
procedure, the /.rhosts file on the remote system
must allow access from root on the local node.

The following example dumps a fileset named sar to a tape on node
rachem:

# /sbin/vdump -f - /sar | rsh rachem dd of=/dev/rmt0h

To restore the fileset sar from the remote tape drive, enter:

# rsh rachem -n dd if=/dev/rmt0h obs=60k |
                     /sbin/vrestore -x -f - -D /sar

Note that the output block size for dd has been set to 60 kilobytes to
match the default block size of the vdump command. If
your tape drive is more efficient using another block size, change the
size by using the -b flag when you issue the vdump
command.

When you run the vrestore command, you must specify the same block size
that you used with your vdump command. If
the output block size for dd does not match the vdump block size, the
vrestore command will exit with the following error
message:

vrestore: unable to use saveset; invalid or corrupt format

Because AdvFS backs up at the file level, you can also do remote dumping
and recovery by using the vdump command to
dump NFS mount points. Mount each disk on the tape server and use the
vdump command for each mount point. The
vrestore command can then be used to restore information. However, with
this method you will lose some AdvFS extended
file attributes because NFS does not recognize them. For example, if you
have a striped file, it will be restored to a single
volume.


Thanks again,
Bill Antoniadis
Received on Fri Mar 06 1998 - 20:13:12 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT