[TriLUG] retrieving a tar from tape

Ken Mink kmtrilug at nc.rr.com
Tue May 18 11:37:10 EDT 2004


tar -xvMf /dev/st0

That should work. You said you tried 'tar -xv -f /dev/st0', but you 
didn't say what the results were. Did it give an error? Did the tape 
spin, but nothing extracted? I think you just left out the 'M', which 
according to the man page is for creating AND extracting multivolume 
archives.

Ken


On May 18, 2004, at 11:10 AM, Byarlay, Wayne A. wrote:

> Oh. Yes, I do rewind the tapes manually; that has not been a problem.
> Maybe I could make it easier by using /dev/st0, I'll try that in the
> future. Thanks.
>
> I just don't know how to retrieve this archive off the tape... probably
> just a question of syntax.
>
> Do I need to specify a filename, such as "backup.tar", when I write to
> the tape?
>
> wab.
>
>
]
<SNIP>

>> I recently tarred some (big) stuff to a couple DLT tapes (we're 
>> talking
>
>> RH9, with a SCSI DLT). I used #tar -c -M -f /dev/nst0 
>> /path/bigfiles*.*
>>
>> It seemed to work, prompted me for the 2nd tape, and all. But...
>>
>> How do I RETRIEVE this archive? I tried
>>
>> #tar -xv -f /dev/nst0
>>
>> But do I have to provide a filename or something?
>>
>> Thanks for the expert advice, in advance... Let me know if any crucial
>> info is missing that I forgot to provide.
>>
>> WAB.
>>
>> p.s. Although I do not actually live in the Tri-city area (In fact, I
>> don't even know for sure where it is, haha), I find this e-list to be
>> the most helpful linux mailing list. Thanks all!
>>
>>
>
> -- 
> TriLUG mailing list        :
> http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/ TriLUG Member
> Services FAQ : http://members.trilug.org/services_faq/
> TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc
>
>
> --
> TriLUG mailing list        : 
> http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc
>
>
---------------------------------------------
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."--Benjamin Franklin
" 'Necessity' is the plea for every infringement of human liberty; it
is the argument of tyrants; it is the creed of slaves."--William Pitt




More information about the TriLUG mailing list