* Question: dumping a file system to another
@ 1998-03-09 5:00 David Hargreaves
1998-03-10 5:00 ` Mark & Suzanne (remove the dot to reply)
0 siblings, 1 reply; 2+ messages in thread
From: David Hargreaves @ 1998-03-09 5:00 UTC (permalink / raw)
I've tried using the command
dump -0f - / | ( cd /mnt; restore -xf - )
to dump my root filesystem to a new partition mounted on /mnt. The
command keeps telling me that the destination tape(?) is of zero length.
What am I doing wrong?
Thanks
David Hargreaves
School of Chemical, Environmental and Mining Engineering
University of Nottingham
University Park
Nottingham
NG7 2RD
Tel: 01159 515151 x18118
email: evxdmh@unix.ccc.nottingham.ac.uk
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Question: dumping a file system to another
1998-03-09 5:00 Question: dumping a file system to another David Hargreaves
@ 1998-03-10 5:00 ` Mark & Suzanne (remove the dot to reply)
0 siblings, 0 replies; 2+ messages in thread
From: Mark & Suzanne (remove the dot to reply) @ 1998-03-10 5:00 UTC (permalink / raw)
David Hargreaves wrote:
>
> I've tried using the command
>
> dump -0f - / | ( cd /mnt; restore -xf - )
>
> to dump my root filesystem to a new partition mounted on /mnt. The
> command keeps telling me that the destination tape(?) is of zero length.
> What am I doing wrong?
Syntax looks good to me. I don't have ufs file systems or a
spare disk partion to make one to check your command.
You should note that dump only works for UFS
not for ADVFS file systems. I suggest that you use vdump/vrestore
on Digital UNIX for a number of reasons :-
1/ Works
2/ Will work for either UFS or ADVFS
3/ You can use a -D option to specify src and/or dest
eg.
vdump -0 -f - -D ./tmp/t | vrestore -D /tmp/t2 -xf -
which you will not two more advances over dump The path
can be relative ie ./tmp/t can be a directory rather
than a file system mount point and does not need to be in
/etc/fstab
4/ Can handle anything ADVFS can
Cheers
Mark :)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-03-10 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-03-09 5:00 Question: dumping a file system to another David Hargreaves
1998-03-10 5:00 ` Mark & Suzanne (remove the dot to reply)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox