Around 01:56am on Saturday, August 18, 2007 (UK time), Scott Ehrlich scrawled:

> Trying tar cvf /mnt/samba_share/backup.tar /* eventually yields backing up 
> /mnt, which produces an unwanted loop, including /mnt/samba_share
> 
> I looked at tar with --exclude /mnt but didn't seem to get the results I 
> wanted.

tar cvf /mnt/samba_share/backup.tar --exclude=/mnt /*

I'd also use nfs, not samba.

Steve

-- 

A:  Because it messes up the order in which people normally read text.
Q:  Why is top-posting a bad thing?

 02:00:14 up 12 days, 14:24,  1 user,  load average: 0.00, 0.00, 0.00

Attachment: pgpInpE9bLNVI.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
[email protected]
http://lists.centos.org/mailman/listinfo/centos

Reply via email to