[TriLUG] retrieving a tar from tape

Byarlay, Wayne A. wab at purdue.edu
Tue May 18 12:39:09 EDT 2004


OK, that's acceptable... I actually would rarely want to restore to the
exact location. That always seems, to me, just a bit too risky. 

Thanks everybody for your help. 

-----Original Message-----
From: trilug-bounces at trilug.org [mailto:trilug-bounces at trilug.org] On
Behalf Of Scott Chilcote
Sent: Tuesday, May 18, 2004 11:30 AM
To: Triangle Linux Users Group discussion list
Subject: Re: [TriLUG] retrieving a tar from tape

Byarlay, Wayne A. wrote:
>>This is why the directory where you create the archive from is very
> 
> important - it will be extracted to the same path. 
> This is true for all but the initial "/" if you use an absolute path -

> it is removed (i.e.
> made relative) by default
> 
> Aha... did not understand that... so it's going to extract to the 
> original location, not the "current" location? OK.

By default, the archive will extract below the directory where you untar
it using the relative path that was stored on the tape.

For example, if you tarred /usr, then untarred in /tmp, you'd wind up
with all of the directories that occur below /usr in /tmp.

You can override this using "-P" when you create the archive.

--
Scott C.




-- 
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





More information about the TriLUG mailing list