[BBLISA] System Backup thoughts and questions...

Kathryn Smith aishabintjamil at yahoo.com
Thu Jan 8 17:01:15 EST 2009


--- On Thu, 1/8/09, David Allan <dave at dpallan.com> wrote:


> 
> tar cf - /source/directory | ( cd /backup/directory ; tar
> xvf - )
> 

This is probabably obvious, but having shot myself in the foot with it in the past, I can't let this go by without pointing it out. If you try this approach, be absolutely sure you use 

tar cf - ./source/directory 

The example here looks like you're using a full, absolute path name starting at root for your source directory. If you write that using a pipe, it goes right back where it started, not to /backup/directory you've just changed into. 

Been there, done it to myself, spent a very long weekend recovering the file system. 

Kathryn

-----------------------------------------------------------
This email address, aishabintjamil at yahoo.com, is my primary
email address. If you encounter difficulty with this address,
I can also be reached at aishabintjamil at speakeasy.net





More information about the bblisa mailing list