* vdump multiple filesystem
@ 2001-11-29 10:44 Sam Wun
2001-11-29 11:11 ` Sam Wun
2001-11-30 9:08 ` Emmanuel Choquet
0 siblings, 2 replies; 6+ messages in thread
From: Sam Wun @ 2001-11-29 10:44 UTC (permalink / raw)
Hi,
I want to use vdump to backup multiple filesystems in DGUX 4.0E.
the following command failed:
#vdump -0 -Cu -b 64 -f /dev/nrmt0h / /usr
How can I backup multipe filesystem inDGUX 4.0E?
Thanks
Sam
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: vdump multiple filesystem
2001-11-29 10:44 vdump multiple filesystem Sam Wun
@ 2001-11-29 11:11 ` Sam Wun
2001-11-30 7:05 ` Adam Price
2001-11-30 9:08 ` Emmanuel Choquet
1 sibling, 1 reply; 6+ messages in thread
From: Sam Wun @ 2001-11-29 11:11 UTC (permalink / raw)
the vdump -0CuN -b 64 -f - / | dd bs=64k of=/dev/nrmt0h doesn't work in DGUX
4.0E. I am wonder whether -N option works over the network, because when I
remove the -N option, it works quite smoothly.
Thansk
Sam
Sam Wun <s.wun@thales-is.com.hk> wrote in message
news:9u53jg$odo8@imsp212.netvigator.com...
> Hi,
>
> I want to use vdump to backup multiple filesystems in DGUX 4.0E.
> the following command failed:
>
> #vdump -0 -Cu -b 64 -f /dev/nrmt0h / /usr
>
> How can I backup multipe filesystem inDGUX 4.0E?
>
> Thanks
> Sam
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: vdump multiple filesystem
2001-11-29 11:11 ` Sam Wun
@ 2001-11-30 7:05 ` Adam Price
2001-11-30 8:53 ` Sam Wun
0 siblings, 1 reply; 6+ messages in thread
From: Adam Price @ 2001-11-30 7:05 UTC (permalink / raw)
"Sam Wun" <s.wun@thales-is.com.hk> wrote in message news:9u556s$ode9@imsp212.netvigator.com...
> the vdump -0CuN -b 64 -f - / | dd bs=64k of=/dev/nrmt0h doesn't work in DGUX
> 4.0E. I am wonder whether -N option works over the network, because when I
> remove the -N option, it works quite smoothly.
>
-N says don't rewind the tape drive. Since you can't 'rewind' the input
to a pipe it is meaningless when used like this.
dd won't rewind the tape anyway, but if you are really paranoid you
can always just manually position the tape after each fileset.
HTH
Adam
PS Upgrade from 4.0E
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: vdump multiple filesystem
2001-11-30 7:05 ` Adam Price
@ 2001-11-30 8:53 ` Sam Wun
2001-11-30 20:09 ` Adam Price
0 siblings, 1 reply; 6+ messages in thread
From: Sam Wun @ 2001-11-30 8:53 UTC (permalink / raw)
Hi Adam,
Thanks for the reply.
When I finished execute the command as follow:
#vdump -0Cu -b 64 -f - / | dd bs=64k of=/dev/nrmt0h
#vdump -0Cu -b 64 -f - /usr | dd bs=64k of=/dev/nrmt0h
and use the vrestore command to extract it:
#vrestore -xv -D /data/restore / /usr
in the /data/restore directory, I can only see the data extracted for the / file system, I don't
see the ./usr file system has any data in it.
Do you know whether the vdump command is correct or the vrestore command is correct?
Thansk
Sam
Adam Price wrote:
> "Sam Wun" <s.wun@thales-is.com.hk> wrote in message news:9u556s$ode9@imsp212.netvigator.com...
> > the vdump -0CuN -b 64 -f - / | dd bs=64k of=/dev/nrmt0h doesn't work in DGUX
> > 4.0E. I am wonder whether -N option works over the network, because when I
> > remove the -N option, it works quite smoothly.
> >
> -N says don't rewind the tape drive. Since you can't 'rewind' the input
> to a pipe it is meaningless when used like this.
> dd won't rewind the tape anyway, but if you are really paranoid you
> can always just manually position the tape after each fileset.
> HTH
> Adam
> PS Upgrade from 4.0E
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: vdump multiple filesystem
2001-11-29 10:44 vdump multiple filesystem Sam Wun
2001-11-29 11:11 ` Sam Wun
@ 2001-11-30 9:08 ` Emmanuel Choquet
1 sibling, 0 replies; 6+ messages in thread
From: Emmanuel Choquet @ 2001-11-30 9:08 UTC (permalink / raw)
"Sam Wun" <s.wun@thales-is.com.hk> wrote in message news:<9u53jg$odo8@imsp212.netvigator.com>...
> Hi,
>
> I want to use vdump to backup multiple filesystems in DGUX 4.0E.
> the following command failed:
>
> #vdump -0 -Cu -b 64 -f /dev/nrmt0h / /usr
>
> How can I backup multipe filesystem inDGUX 4.0E?
>
> Thanks
> Sam
# vdump 0f /dev/nrmt0h / ; vdump 0f /dev/nrmt0h /usr ; mt offline
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: vdump multiple filesystem
2001-11-30 8:53 ` Sam Wun
@ 2001-11-30 20:09 ` Adam Price
0 siblings, 0 replies; 6+ messages in thread
From: Adam Price @ 2001-11-30 20:09 UTC (permalink / raw)
"Sam Wun" <s.wun@thales-is.com.hk> wrote in message news:3C0748F2.C1E12A43@thales-is.com.hk...
> Hi Adam,
>
> Thanks for the reply.
> When I finished execute the command as follow:
>
> #vdump -0Cu -b 64 -f - / | dd bs=64k of=/dev/nrmt0h
> #vdump -0Cu -b 64 -f - /usr | dd bs=64k of=/dev/nrmt0h
>
> and use the vrestore command to extract it:
> #vrestore -xv -D /data/restore / /usr
>
> in the /data/restore directory, I can only see the data extracted for the / file system, I don't
> see the ./usr file system has any data in it.
>
The vrestore command is wrong.
mt rewind
vrestore -t #(This should give an index of /)
mt rewind
mt fsf 1
vrestore -t #(This should give you an index of /usr)
The commands you used to create the tapes created 2 save sets.
You need to recover them with 2 vrestore commands.
HTH
Adam
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2001-11-30 20:09 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-29 10:44 vdump multiple filesystem Sam Wun
2001-11-29 11:11 ` Sam Wun
2001-11-30 7:05 ` Adam Price
2001-11-30 8:53 ` Sam Wun
2001-11-30 20:09 ` Adam Price
2001-11-30 9:08 ` Emmanuel Choquet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox