From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,109d3844f1ed549 X-Google-Attributes: gidf678f,public From: mcheek@newman.pcisys.net (Matthew P Cheek) Subject: Re: remote backup Date: 1998/06/05 Message-ID: <6l91vi$32d$1@newman.pcisys.net>#1/1 X-Deja-AN: 359853472 References: Organization: PCI Systems Inc. Newsgroups: comp.unix.osf.misc M. Cao (mcao@u.washington.edu) wrote: : : The filesystem on my Digital Unix machine is Advfs, and rdump does not : support Advfs. : : Can you tell me how to backup my system to the remote tape drive ? : : Thanks in advance : : Minh : Actually there is a way to do remote vdump's. The answer is basically to run the vdump(8) command on the local system with the output sent to stdout. The stdout is then piped to a remote shell to the remote system running a dd(1) command to it's local tape device. You will need to specify the block size for the whole thing though. Also you will need to grant trusted host access to the local system on the remote system (/.rhosts file). Here's an example vdump command to vdump the root partition: # vdump -0 -u -b 64 -f - / | rsh [remote_hostname] dd of=/dev/nrmt0h bs=64k The vrestore(8) works in reverse fashion, but the pseudo-shell that the interactive option of vrestore invokes will not work with an rsh. A full partition vrestore without the -i will work with rsh though. This example will restore the entire vdump archive located on the specified tape drive: # rsh [remote_hostname] dd if=/dev/rmt0h bs=64k | vrestore -x -f - Matt -- MCI Telecommunications | Matthew.Cheek@MCI.Com 2424 Garden of the Gods Road | MCI Mail: 201-2666 Colorado Springs, CO 80919 | Tel: (719) 535-6677