[plug] Tar

Phillip Steege psteege at tpg.com.au
Thu Jul 13 10:06:49 WST 2000


You just need to change the command to "tar xzvf /dev/st0".  The "z" is
needed because you used it when you created it "(tar -cvzf /dev/st0 <files>
| tee bk.log " and that zipped your file.
You also have to add the "z" to the look at the files "tar tzvf /dev/st0"

good luck

> -----Original Message-----
> From: Earnshaw, Mike [mailto:earnshawm at wa.switch.aust.com]
> Sent: Thursday, 13 July 2000 09:07
> To: PLUG (E-mail)
> Subject: [plug] Tar
>
>
> List,
>
> Still having a little trouble with my backups. Thanks to list assistance
> I have succeeded in doing the backup (tar -cvzf /dev/st0 <files> | tee
> bk.log and the bk.log appears to contain all the files requested).
> Whilst I was on a winning streak tried to restore a file with:
>
> tar xvf /dev/st0 <file>
>
> and received a message that this was not a tar file, skippig to next
> header.
>
> I assume what's happened is it has just dumped the files to tape rather
> than tar'd them or it has not worked. Tried getting a list of files on
> the device with:
>
> tar tvf /dev/st0
>
> and received the same message.
>
> Bit lost for an explanation. I would really like to try a backup/restore
> before disaster strikes. Any assistance appreciated.
>
> Thanks
>
> Mike
>




More information about the plug mailing list