* Remote backup strange behaviour
@ 2000-04-24 13:29 Nikola Milutinovic
0 siblings, 0 replies; only message in thread
From: Nikola Milutinovic @ 2000-04-24 13:29 UTC (permalink / raw)
To: tru64-unix-managers
Hi all.
I remember this matter was discussed, but I'm pressed for time. I'm trying to do
a remote system backup with vdump + dd.
This is the line used to do it:
Uprava:/# rsh -l root Twinpeaks.ev.co.yu "vdump -0uCf - /clones/root" | dd
bs=60k of=/dev/nrmt0h
It all goes well, but when I try to restore (vrestore -t) on the backup machine
(Uprava). I get nonsense output, the terminal goes heywire and I have to kill
it.
Next I tried an experiment:
Uprava:/# vdump -0NC /
...
Uprava:/# mt rewind
Uprava:/# vrestore -t
THIS GOES OK.
Uprava:/# vdump -0Cf - / | dd bs=60k of=/dev/nrmt0h
.....
566+22 records in
567+1 records out
Why is there a different number of blocks?
Then I try to read it:
Uprava:/# vrestore -t
FAILS. It complains about "incomplete number of blocks".
Then I try:
Uprava:/# dd bs=60k if=/dev/nrmt0h | vrestore -f - -t
THIS GOES OK.
So, what is the story? I remeber something vaguely about redirections, pipes and
vdump/vrestore + dd issue. The main question is why does network backup fail? I
tried with rsh:
Uprava:/# dd bs=60k if=/dev/nrmt0h | rsh -l root twinpeaks "vrestore -f - -t"
No luck.
Nix.
--
42??!!! 7 and half million years and all you can come up
with is 42?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-04-24 13:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-04-24 13:29 Remote backup strange behaviour Nikola Milutinovic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox