[CentOS] Help with backups

Steve Searle steve at stevesearle.com
Sat Aug 18 01:02:54 UTC 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20070818/bc001763/attachment.sig>


More information about the CentOS mailing list