[plug] restoring from tape
Buddrige, David
BuddrigeD at logica.com
Thu Aug 1 15:21:54 WST 2002
thanks heaps guys. 8-)
> -----Original Message-----
> From: Craig Ringer [mailto:craig at postnewspapers.com.au]
> Sent: Thursday, 1 August 2002 1:08 PM
> To: plug at plug.linux.org.au
> Subject: Re: [plug] restoring from tape
>
>
> > To list the contents of the tape to stdout (may want to filter it!):
> > tar -ztvf /dev/st0
>
> Tip: if you know its in a given subdirectory or whatever, you can
> tar tvzf /dev/st0 mysubdir/
> and it'll only list the contents of that subdirectory.
>
> > To then restore a file to the pwd once you know its
> name/path in the tape
> > archive:
> > tar -xzvf /dev/st0 path/to/file
>
> Though you may well need to drop the z from the arguments if
> you don't
> compress the data going onto the tape. I use DDS2 and haven't
> found it
> to make a difference whether or not I do compresison in
> software, since
> the drive does some pretty powerful hardware-driven data compression
> anyway - and not compressing saves on CPU time and leads to a faster
> backup, at least in my case.
>
> --
> Craig Ringer
> GPG Key Fingerprint: AF1C ABFE 7E64 E9C8 FC27 C16E D3CE CDC0
> 0E93 380D
> -- if it ain't broke, add features 'till it is. (or:)
> while (! broken) { features ++ ; broken = isBroken(features) }
>
>
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
More information about the plug
mailing list