I do this
to may back up drives

nice -20 rsh -K -l root www.host.net "cd /;nice -20 /sbin/dump -0ua -f -
/dev/wd0s1a" >> /mnt/backup1/date_machine.dump

or if you want to do a restore to drive and have it ready to replace

nice -20 rsh -K -l root www.host.net "cd /;nice -20 /sbin/dump -0ua -f -
/dev/wd0s1a" >> ( cd /mnt && restore -ruf - /dev/wd1s1a )

if there is a better for faster way to do this please let me know

Tony




At 05:32 PM 9/20/99 -0700, Chad R. Larson wrote:
>As I recall, Jordan K. Hubbard wrote:
>> No, it uses the rmt(8) interface.  You can't do what you're
>> trying to do in the way you're trying to do it. :-)
>> 
>> If I were trying to do that, I'd either NFS mount the dump
>> directory off of backup or I'd do something like:
>> 
>>   dump 0af - | ssh backup dd of=/tmp/var.dump
>> 
>> - Jordan
>
>This file lives in /root/bin on one of my systems...
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>#!/bin/sh
>
># dump the whole system to Chad's DAT tape
>
>/sbin/dump 0ubBf 32 2000000 'operator@chad:/dev/nrst0' /      > Log 2>&1
>/sbin/dump 0ubBf 32 2000000 'operator@chad:/dev/nrst0' /usr  >> Log 2>&1
>/sbin/dump 0ubBf 32 2000000 'operator@chad:/dev/nrst0' /var  >> Log 2>&1
>/sbin/dump 0ubBf 32 2000000 'operator@chad:/dev/nrst0' /www  >> Log 2>&1
>/sbin/dump 0ubBf 32 2000000 'operator@chad:/dev/nrst0' /archive  >> Log 2>&1
>/sbin/dump 0ubBf 32 2000000 'operator@chad:/dev/nrst0' /ftp/public  >> Log
2>&1
>/sbin/dump 0ubBf 32 2000000 'operator@chad:/dev/rst0'  /ftp/private  >> Log
2>&1
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
>
> -crl
>--
>Chad R. Larson (CRL15)   602-953-1392   Brother, can you paradigm?
>[EMAIL PROTECTED]         [EMAIL PROTECTED]          [EMAIL PROTECTED]   
>DCF, Inc. - 14623 North 49th Place, Scottsdale, Arizona 85254-2207
>
>
>To Unsubscribe: send mail to [EMAIL PROTECTED]
>with "unsubscribe freebsd-stable" in the body of the message
>  


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message

Reply via email to