Re: Restoring without Amanda
2005-09-07 14:26:04
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... -
> >
> > 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 -
--
Jon H. LaBadie jon AT jgcomp DOT com
JG Computing
4455 Province Line Road (609) 252-0159
Princeton, NJ 08540-4322 (609) 683-7220 (fax)
|
|
|