Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Sep 1999 19:44:00 -0500
From:      Tony <tony@cyberosity.com>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Does rdump write the backup to an ordinary file? (no Stable Content)
Message-ID:  <199909210057.TAA22858@cyberosity.com>
In-Reply-To: <199909210032.RAA23172@freeway.dcfinc.com>
References:  <5186.937871025@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help

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.=A0 You can't do what you're
>> trying to do in the way you're trying to do it. :-)
>>=20
>> If I were trying to do that, I'd either NFS mount the dump
>> directory off of backup or I'd do something like:
>>=20
>> =A0 dump 0af - | ssh backup dd of=3D/tmp/var.dump
>>=20
>> - Jordan
>
>This file lives in /root/bin on one of my systems...
>-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=
=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D
>#!/bin/sh
>
># dump the whole system to Chad's DAT tape
>
>/sbin/dump 0ubBf 32 2000000 'operator@chad:/dev/nrst0' /=A0=A0=A0=A0=A0 >=
 Log 2>&1
>/sbin/dump 0ubBf 32 2000000 'operator@chad:/dev/nrst0' /usr=A0 >> Log 2>&1
>/sbin/dump 0ubBf 32 2000000 'operator@chad:/dev/nrst0' /var=A0 >> Log 2>&1
>/sbin/dump 0ubBf 32 2000000 'operator@chad:/dev/nrst0' /www=A0 >> Log 2>&1
>/sbin/dump 0ubBf 32 2000000 'operator@chad:/dev/nrst0' /archive=A0 >> Log=
 2>&1
>/sbin/dump 0ubBf 32 2000000 'operator@chad:/dev/nrst0' /ftp/public=A0 >>=
 Log
2>&1
>/sbin/dump 0ubBf 32 2000000 'operator@chad:/dev/rst0'=A0 /ftp/private=A0 >>=
 Log
2>&1
>-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=
=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D
>
>
> -crl
>--
>Chad R. Larson (CRL15)=A0=A0 602-953-1392=A0=A0 Brother, can you paradigm?
>chad@dcfinc.com=A0=A0=A0=A0=A0=A0=A0=A0 chad@larsons.org=A0=A0=A0=A0=A0=A0=
=A0=A0=A0 larson1@home.net=A0=A0=20
>DCF, Inc. - 14623 North 49th Place, Scottsdale, Arizona 85254-2207
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-stable" in the body of the message
> =20


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909210057.TAA22858>