From: "Mark & Suzanne (remove the dot to reply)" <gcs@s054.aone.net.au>
Subject: Re: Question: dumping a file system to another
Date: 1998/03/10 [thread overview]
Message-ID: <3503EDFF.2781@s054.aone.net.au> (raw)
In-Reply-To: 3503CD1E.28C6@unix.ccc.nottingham.ac.uk
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 :)
prev parent reply other threads:[~1998-03-10 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox