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:39:23 +0900
- From: Mike Allred <mikejallred@example.com>
- Subject: Re: [tlug] [TLUG] Rsync exclusion question
- References: <956ae5a90906100208k6ec1aeebnebb17f7534b8183a@example.com>
I've had much better luck using the --exclude-from=FILE option. It seems to "do the right thing", at least for my recent cases. On Wed, Jun 10, 2009 at 6:08 PM, Doug McLean <dmclean635@example.com> wrote: > > Hello all, > > I have a niggling question that I hope someone here can help resolve. > At work I have a document repository system that has a master-slave > setup. The slave hosts are set to use 'rsync' periodically to grab the > latest files from the master host. The overall design is fairly > Doug^H^H^H idiot-proof except for one issue. The repository system > uses .lease files for edits to the documents. These are temp files > that are submitted to the real document once the user submits his > changes. So the .lease files come and go often. > > The problem is is that if an rsync runs during this time, it will flag > errors because it saw the .lease file but the file is gone by the time > is tries to sync the file. > > 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. > > Have I overlooked something obvious? Am I always doomed to annoying > "rsync error" cron emails? Will Steph and Robert ever fall in love, > or will war keep them separated forever? > > Stay tuned. > > -- > Doug McLean > > Blog: http://nihonshukyo.wordpress.com/ > > -- > To unsubscribe from this mailing list, > please see the instructions at http://www.tlug.jp/list.html > > The TLUG mailing list is hosted by the award-winning Internet provider > ASAHI Net. > Visit ASAHI Net's English-language Web page: http://asahi-net.jp/en/
- Follow-Ups:
- Re: [tlug] [TLUG] Rsync exclusion question
- From: Scott Robbins
- 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: [tlug] [TLUG] Rsync exclusion question
- Next by thread: Re: [tlug] [TLUG] Rsync exclusion question
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links