[ale] Tarring Root FS

James P. Kinney III jkinney at localnetsolutions.com
Fri Dec 9 16:43:57 EST 2005


On Fri, 2005-12-09 at 15:12 -0500, Christopher Fowler wrote:
> 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/* .

the exclude should be

--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
-- 
James P. Kinney III          \Changing the mobile computing world/
CEO & Director of Engineering \          one Linux user         /
Local Net Solutions,LLC        \           at a time.          /
770-493-8244                    \.___________________________./
http://www.localnetsolutions.com

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part




More information about the Ale mailing list