You are missing that nasty "--absolute-paths" ("-P") switch on tar to
preserve the leading slash. It may or may not be what you want. In
general, a better approach is to tell tar to make a particular directory
the current directory before executing, using the "--directory" ("-C")
switch. For example, if you mount what you want be the root fs after the
restore onto /restore during the restoration process, you can do something
like "tar -xpf /dev/st0 --directory /restore" to accomplish this.
-- Mike
On Fri, 31 Mar 2000 [EMAIL PROTECTED] wrote:
>
> In a message dated 3/31/00 5:17:06 PM, [EMAIL PROTECTED] writes:
>
> >Use tape! Raid shouldn't replace tapes, they serve different (but
> >sometimes similar) purposes.
> I agree. I just bought a 50 gig native tape backup drive ($3700) to back up
> my raid array. I didn't have any luck when I did tar cvf /dev/st0 / as
> there are a couple of files that I think exist on / by itself except that tar
> takes out the leading / and these files had no place to go so the tar exited.
> I think there is a way to include the leading / but I didn't know if this was
> dangerous to do.
> gary hostetler
>