* Re: remote backup
1998-06-04 4:00 remote backup M. Cao
@ 1998-06-05 4:00 ` Matthew P Cheek
1998-06-05 4:00 ` Nikola Milutinovic
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Matthew P Cheek @ 1998-06-05 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: remote backup
1998-06-04 4:00 remote backup M. Cao
1998-06-05 4:00 ` Matthew P Cheek
@ 1998-06-05 4:00 ` Nikola Milutinovic
1998-06-05 4:00 ` Emmanuel Choquet
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Nikola Milutinovic @ 1998-06-05 4:00 UTC (permalink / raw)
M. Cao wrote:
>
> Hi,
>
> 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 ?
This was discussed some time ago.
Ther are two ways:
1. Create clones on target machine.
Mount them via NFS on tape machine.
Backup using vdump.
2. Enable rsh (/etc/hosts.equiv, .rhosts)
Create clones on TARGET_HOST
from tape machine: rsh TARGET_HOST -l root "vdump -f - /clones/root"
| dd -of /dev/nrmt0h
(it's been a while and I could be wrong about syntax)
Nix.
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: remote backup
1998-06-04 4:00 remote backup M. Cao
1998-06-05 4:00 ` Matthew P Cheek
1998-06-05 4:00 ` Nikola Milutinovic
@ 1998-06-05 4:00 ` Emmanuel Choquet
1998-06-05 4:00 ` Sasa Stiasni
1998-06-11 4:00 ` N Madden
4 siblings, 0 replies; 6+ messages in thread
From: Emmanuel Choquet @ 1998-06-05 4:00 UTC (permalink / raw)
To: M. Cao
M. Cao wrote:
> Hi,
>
> 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
vdump 0f - /myfilesystem | rsh remotehost dd of=/dev/nrmt0h bs=64k
--
Emmanuel Choquet
Informatique Client/Serveur
& Communication
_/
_/
_/ _/_/_/ _/ _/_/_/
_/ _/ _/ _/
_/ _/ _/ _/_/_/
_/ _/ _/ _/
_/ _/_/_/ _/ _/_/_/
ics@cica.fr
c/o Cica Tel: (33) 4 92.94.23.50
2229, route des cretes fax: (33) 4 92.94.23.54
06560 Sophia-Antipolis
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: remote backup
1998-06-04 4:00 remote backup M. Cao
` (2 preceding siblings ...)
1998-06-05 4:00 ` Emmanuel Choquet
@ 1998-06-05 4:00 ` Sasa Stiasni
1998-06-11 4:00 ` N Madden
4 siblings, 0 replies; 6+ messages in thread
From: Sasa Stiasni @ 1998-06-05 4:00 UTC (permalink / raw)
On Thu, 4 Jun 1998 18:30:34 -0700, M. Cao <mcao@u.washington.edu> wrote:
>Hi,
>
>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
>
gtar -c ARCHIVE -f - | rsh -l USERNAME REMOTEHOST "dd of=/dev/dat bs=32k"
Sasa
--
mailto: sstiasni@irb.hr
URL: http://titan.fpz.hr/~sstiasni
ICQ 12844140
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: remote backup
1998-06-04 4:00 remote backup M. Cao
` (3 preceding siblings ...)
1998-06-05 4:00 ` Sasa Stiasni
@ 1998-06-11 4:00 ` N Madden
4 siblings, 0 replies; 6+ messages in thread
From: N Madden @ 1998-06-11 4:00 UTC (permalink / raw)
To: M. Cao
> 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 ?
Will "vdump" work remotly? I know it will work with advfs.
Niall
--
Mathematics Dept.,
University College, Cork.
http://maths.ucc.ie/~niall
^ permalink raw reply [flat|nested] 6+ messages in thread