Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] [TLUG] Rsync exclusion question
- Date: Wed, 10 Jun 2009 18:40:17 +0900
- From: Romeo Theriault <romeo.theriault@example.com>
- Subject: Re: [tlug] [TLUG] Rsync exclusion question
- References: <956ae5a90906100208k6ec1aeebnebb17f7534b8183a@example.com>
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
- References:
- [tlug] [TLUG] Rsync exclusion question
- From: Doug McLean
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] (OT) The enigma of Japan
- Next by Date: Re: [tlug] (OT) The enigma of Japan
- Previous by thread: Re: [tlug] Rsync exclusion question
- Next by thread: [tlug] OT: about iphone
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links