Sam Sexton
2003-May-01 19:15 UTC
--exclude-from works but "exclude from" in rsyncd.conf doesn't ?
I'm setting rsync up for the first time and would prefer to have the exclude file defined in the conf file, but the exclusions aren't honoured when I define the parameter in rsyncd.conf - although they are when I specify the file in an argument. The server is the remote system and both rsyncd.conf and the exclude file are the same on both local and remote systems. I'm attaching the test script and the conf file - am I doing something wrong? I haven't verified that all the exclusions and inclusions are correct - I may well have to adjust those, but this report is based on the recognition of the kellym, projects and TT_DB exclusion. BTW, let me assure you that the "exclude from" line in rsyncd.conf WAS decommented when I was doing the testing! TIA, /Sam Sam Sexton <mailto:sam.sexton@reuters.com> Reuters Coventry Automated Dealing Technologies Phone: +44 24 7625 6562 Fax: +44 24 7655 5203 -------------------------------------------------------------- -- Visit our Internet site at http://www.reuters.com Get closer to the financial markets with Reuters Messaging - for more information and to register, visit http://www.reuters.com/messaging Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd. -------------- next part -------------- A non-text attachment was scrubbed... Name: rsync_daily.conf Type: application/octet-stream Size: 1025 bytes Desc: rsync_daily.conf Url : http://lists.samba.org/archive/rsync/attachments/20030501/44478211/rsync_daily.obj -------------- next part -------------- A non-text attachment was scrubbed... Name: rsyncd.conf Type: application/octet-stream Size: 742 bytes Desc: rsyncd.conf Url : http://lists.samba.org/archive/rsync/attachments/20030501/44478211/rsyncd.obj
jw schultz
2003-May-01 19:38 UTC
--exclude-from works but "exclude from" in rsyncd.conf doesn't ?
On Thu, May 01, 2003 at 10:15:47AM +0100, Sam Sexton wrote:> I'm setting rsync up for the first time and would prefer to have the > exclude file defined in the conf file, but the exclusions aren't > honoured when I define the parameter in rsyncd.conf - although they are > when I specify the file in an argument. The server is the remote system > and both rsyncd.conf and the exclude file are the same on both local and > remote systems. I'm attaching the test script and the conf file - am I > doing something wrong? I haven't verified that all the exclusions and > inclusions are correct - I may well have to adjust those, but this > report is based on the recognition of the kellym, projects and TT_DB > exclusion. > > BTW, let me assure you that the "exclude from" line in rsyncd.conf WAS > decommented when I was doing the testing!The rsyncd.conf manpage clearly states that the exclude list specified in the config file "only applies on the server". There is no point my quoting the whole section when you can read it yourself. -- ________________________________________________________________ J.W. Schultz Pegasystems Technologies email address: jw@pegasys.ws Remember Cernan and Schmitt
Sam Sexton
2003-May-07 01:03 UTC
--exclude-from works but "exclude from" in rsyncd.conf doesn't ?
Regarding this reply from Pegasus that I found after reporting the problem as a bug: On Thu, May 01, 2003 at 10:15:47AM +0100, Sam Sexton wrote: > I'm setting rsync up for the first time and would prefer to have the > exclude file defined in the conf file, but the exclusions aren't > honoured when I define the parameter in rsyncd.conf - although they are > when I specify the file in an argument. The server is the remote system > and both rsyncd.conf and the exclude file are the same on both local and > remote systems. I'm attaching the test script and the conf file - am I > doing something wrong? I haven't verified that all the exclusions and > inclusions are correct - I may well have to adjust those, but this > report is based on the recognition of the kellym, projects and TT_DB > exclusion. > > BTW, let me assure you that the "exclude from" line in rsyncd.conf WAS > decommented when I was doing the testing! The rsyncd.conf manpage clearly states that the exclude list specified in the config file "only applies on the server". There is no point my quoting the whole section when you can read it yourself. I had that phrase highlighted in the man page - and had copied the exclusion file to the server (which is also the target). I mentioned this in the original report. Perhaps "only applies on the server" needs to be defined more precisely. Are you saying that the exclusions have to be defined in a file on the server _and_ the copy performed _from_ the server rather than _to_ it? Regards, /Sam Sam Sexton <mailto:sam.sexton@reuters.com> Reuters Coventry Automated Dealing Technologies Phone: +44 24 7625 6562 Fax: +44 24 7655 5203 --------------------------------------------------------------- - Visit our Internet site at http://www.reuters.com Get closer to the financial markets with Reuters Messaging - for more information and to register, visit http://www.reuters.com/messaging Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd.
Sam Sexton
2003-May-09 19:40 UTC
--exclude-from works but "exclude from" in rsyncd.conf doesn't ?
Resending this as it appeared to get lost before reaching the list. /Sam -----Original Message----- From: Sam Sexton Sent: 06 May 2003 16:04 To: 'rsync@lists.samba.org' Subject: --exclude-from works but "exclude from" in rsyncd.conf doesn't ? Regarding this reply from Pegasus that I found after reporting the problem as a bug: On Thu, May 01, 2003 at 10:15:47AM +0100, Sam Sexton wrote: > I'm setting rsync up for the first time and would prefer to have the > exclude file defined in the conf file, but the exclusions aren't > honoured when I define the parameter in rsyncd.conf - although they are > when I specify the file in an argument. The server is the remote system > and both rsyncd.conf and the exclude file are the same on both local and > remote systems. I'm attaching the test script and the conf file - am I > doing something wrong? I haven't verified that all the exclusions and > inclusions are correct - I may well have to adjust those, but this > report is based on the recognition of the kellym, projects and TT_DB > exclusion. > > BTW, let me assure you that the "exclude from" line in rsyncd.conf WAS > decommented when I was doing the testing! The rsyncd.conf manpage clearly states that the exclude list specified in the config file "only applies on the server". There is no point my quoting the whole section when you can read it yourself. I had that phrase highlighted in the man page - and had copied the exclusion file to the server (which is also the target). I mentioned this in the original report. Perhaps "only applies on the server" needs to be defined more precisely. Are you saying that the exclusions have to be defined in a file on the server _and_ the copy performed _from_ the server rather than _to_ it? Regards, /Sam Sam Sexton <mailto:sam.sexton@reuters.com> Reuters Coventry Automated Dealing Technologies Phone: +44 24 7625 6562 Fax: +44 24 7655 5203 --------------------------------------------------------------- - Visit our Internet site at http://www.reuters.com Get closer to the financial markets with Reuters Messaging - for more information and to register, visit http://www.reuters.com/messaging Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd.
1Ahosting.us
2003-May-10 07:18 UTC
--exclude-from works but "exclude from" in rsyncd.conf doesn't ?
so is that no yes maybe> > > --On Friday, May 09, 2003 13:16:14 -0700 Wayne Davison<wayned@samba.org>> wrote: > > > (just not the effect you're expecting). As the man page states, the > > option is not the equivalent of specifying the --exclude-fromoption on> > the command-line, and its main purpose (at the moment) is to limitwhat> > can be downloaded from a server -- i.e. it makes certain filesinvisible> > on the server, but the client side doesn't know about theexclusions at> > all. > > Except it doesn't always, because the server doesn't canonicalizepathnames> when a client requests a file via rsync:: > > *sigh* > > Basically, excludes on the server are next to useless. > > -- > Carson > > -- > To unsubscribe or change options:http://lists.samba.org/mailman/listinfo/rsync> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html> >One click install of :phpWebsite,php- Nuke,phpLinks,phpBB,Xoops,osCommerce,and more... Really just one click. http://1ahosting.com/features.php