On Tue, 11 Dec 2001, Bernhard R. Erdmann wrote:
> > Perhaps what could be done is if you specify a destination directory that
> > does not exist, xfsrestore could create it and then assign the appropriate
> > ownership and permissions. IIRC, at the moment if the destination
> > directory does not exist, xfsrestore just complains and exits.
>
> That would not be a solution. Consider having extra filesystems for /var
> and /var/spool/news. If you want to restore them from tape
>
> - fdisk && reboot or lvcreate
> - mkfs.xfs
> - mount /bla
> - dd if=$TAPE ibs=32k | xfsrestore - /bla
Yeah, that occurred to me a moment or two after I sent the mail. What
could be done here is just 'xfsrestore - /bla/tmp' then 'mv /bla/tmp/*
/bla' .. but that is starting to get a little ugly.
My next question is, why do you dd to and from the tape, rather than let
xfsdump and xfsrestore access the tape directly?
Ivan
--
Ivan Rayner
ivanr@xxxxxxx
|