Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] [TLUG] Rsync exclusion question



I thought I could simply add a --exclude="*.lease" flag in the rsync
command, based on Google searches, and personal tests, but that
doesn't seem to work still.

Hmm, that's interesting. I've not had to use the exclude option before so I can't speak to that but an idea popped to mind while I was reading your email. Granted it's probably a bit cumbersome and dependent on your underlying technology. But figured I'd share it anyway :)

If the partition that holds the repository is on a linux box and you are using LVM on the volume you could take a snapshot of the volume before each rsync backup, mount the snapshot, run a find /path -name *.temp --exec rm {} \; on the directory, call the rsync, when that is done, umount the snapshot volume and delete it.

See, I told you it would cumbersome. :) You're probably better off figuring out the rsync issue.


--
Romeo Theriault
System Administrator
Information Technology Services

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links