Jon LaBadie <[EMAIL PROTECTED]> wrote in message
<[EMAIL PROTECTED]>

> On Wed, Sep 07, 2005 at 10:32:47AM -0400, Joshua Baker-LePain wrote:
> > On Wed, 7 Sep 2005 at 10:03am, Vytas Janusauskas wrote
> > 
> > > So I:
> > >   mt -t /dev/nst0 rewind
> > >   mt -t /dev/nst0 fsf 2
> > > dd if=/dev/nst0 bs=32k count=1
> > > 
> > > This list the following:
> > > 
> > >   AMANDA: FILE 20050304 dendron.l8r.net /mnt/vxa2/scans/c/Seven_Unix
lev 0 
> > > comp .gz program /bin/tar
> > > To restore, position tape at start of file and run:
> > >          dd if=<tape> bs=32k skip=1 | /bin/gzip -dc | bin/tar -f... -
> > > 

step 1

> > > So I rewind the tape skip 2 files and then issue:
> > > 
> > > dd if=/dev/nst0 bs=32k skip=1 | /bin/gzip -dc | /bin/gtar -f  ????
> > 
> > dd if=/dev/nst0 bs=32k skip=1 | /bin/gzip -dc | /bin/gtar -f -
> > 
> > Note the trailing hyphen, which tells tar to read from stdin.
> 
> 
> Vytas, Tony,
> 
> Would the header message have been any clearer if it said
> 
>    dd if=<tape> bs=32k skip=1 | /bin/gzip -dc | bin/tar -...f -
> 
> or maybe
> 
> dd if=<tape> bs=32k skip=1 | /bin/gzip -dc | bin/tar -<tar_options> -f -
> 

yes, personally, I had no problem with the hyphen, but ...

I posted last week that my confusion had arisen out of the "skip=1", having
located the required archive. The need to rewind and skip 2 files in this
case could have been avoided at step 1 above. Now *that* would make a
difference.

Cheers, Tony
-- 
Tony van der Hoff          | mailto:[EMAIL PROTECTED]
Buckinghamshire, England

Reply via email to