[ale] Tarring Root FS

Robert L. Harris Robert.L.Harris at rdlg.net
Fri Dec 9 15:16:24 EST 2005



  Do you have to use tar or can you use cpio?  Using find to populate
cpio is considerably more flexible. 


Thus spake Christopher Fowler (cfowler at outpostsentinel.com):

> I'm trying to make a backup of my hard drive without including the
> directory /mksysb.  Tar keeps pulling files from that directory.
> 
> [root at localhost /]# sudo tar -l --same-owner -
> cjpsf /mksysb/iso/data/DUMP-$lt.tar.bz2 --exclude ./mksysb/* .
> tar: ./dev/log: socket ignored
> tar: ./tmp/mysql.sock: socket ignored
> tar: ./var/run/acpid.socket: socket ignored
> tar: ./mksysb/iso/data/DUMP-.tar.bz2: file changed as we read it
> tar: Error exit delayed from previous errors
> [root at localhost /]# 
> 
> Is there a way I can tell tar to backup /, stay on the same filesystem,
> and do not get anything in /mksysb?
> 
> Thanks,
> Chris
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale

:wq!
---------------------------------------------------------------------------
Robert L. Harris                     | GPG Key ID: E344DA3B

DISCLAIMER:
      These are MY OPINIONS             "We can't solve problems by using
       ALONE.  I speak for                the same kind of thinking we used
       no-one else.                         when we created them."
                                          - Einstein

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature




More information about the Ale mailing list