Christoph Scheeder wrote:
> 
> Hi,
> 
> i hope you tried the command
>   dd if=/dev/nst0 bs=32k skip=1 | tar -xvf -
> and not the one you have in your mail....
> 
> as you are running linux, try pulling the image to disk with
>   dd if=/dev/nst0 of=file01

 
        What to do if the backup set does not fit the disk partition ?

        I'd better do the following:

        dd if=/dev/nst0 of=/dev/null bs=32k count=1
        dd if=/dev/nst0 bs=32k | tar ...

        Other than that it will save time because you do this in a single tape
run.


> and then use
>   dd if=file01 bs=32k skip=1 | tar xvf -
> on it.
> dd seems to have problems with some scsi-tapes and the skip option.
> hope it helps
> Christoph
> 
> Jerry Lynde schrieb:
> 
> > mt -f /dev/nst0 rewind
> > dd if=/dev/nst0 bs=32 skip=1 | tar xv -
>                      --^--           --^--
>                    missing k      missing f
> >
> > but when I use the tar (yes, it's gtar, really) it complains
> > that the file is not a valid archive. I can restore files using

-- 

    Yuri Pismerov, TUCOWS.COM INC.      (416) 535-0123  ext. 1352

S/MIME Cryptographic Signature

Reply via email to