From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,b7eb43c164a58d50 X-Google-Attributes: gid1164f8,public From: "Mark & Suzanne (remove the dot to reply)" Subject: Re: Question: dumping a file system to another Date: 1998/03/10 Message-ID: <3503EDFF.2781@s054.aone.net.au>#1/1 X-Deja-AN: 332247637 Content-Transfer-Encoding: 7bit References: <3503CD1E.28C6@unix.ccc.nottingham.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: Garetech Computer Solutions P/L Newsgroups: comp.sys.dec 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 :)