> Yeah, it's right here in the SYNOPSIS section of the man page:
>
> SYNOPSIS
>        tar  [  -  ]  A  --catenate --concatenate | c --create | d

<snip>

> Ok, see it now?  (Neither do I  :-)

:-)))

> But you need a - after the -xf,
> otherwise tar is trying to read its input from usr.dump, which it can't
> find.  a - after the -f option says to read from stdin.  So try changing
> that to read:
>
> # dd if=/dev/nrsa0 bs=32k skip=1 | /usr/local/bin/gtar -xf - usr.dump
>
> and let us know how it goes.
>
> -Mitch

Ok, that is exactly what I was missing - thanks!

Now my problem is this...

# dd if=/dev/nrsa0 bs=32k skip=1 | /usr/local/bin/gtar -xf - usr.dump
0+0 records in
0+0 records out
0 bytes transferred in 0.040918 secs (0 bytes/sec)
/usr/local/bin/gtar: usr.dump: Not found in archive
/usr/local/bin/gtar: Error exit delayed from previous errors

Hmm... usr.dump *does* exist in /usr on the client... wonder why it didn't
get anything...
I tried to recover another file which exists on the client as
/usr/home/user/amanda-2.4.2p2.tar.gz

# dd if=/dev/nrsa0 bs=32k skip=1 | /usr/local/bin/gtar -xf -
amanda-2.4.2p2.tar.gz
53741+0 records in
53741+0 records out
1760985088 bytes transferred in 594.278274 secs (2963233 bytes/sec)
/usr/local/bin/gtar: amanda-2.4.2p2.tar.gz: Not found in archive
/usr/local/bin/gtar: Error exit delayed from previous errors

This time it looks like there was something there, data transferred... but
then why would it say "Not found in archive?"
And if the data transferred, where did it go to? Not to the directory wher I
ran the dd command from... Did it get sent back to the client automagically?

Thanks,

Shawn

Reply via email to