--daemon doesn't take the ---exclude* options.  Put "exclude from = 
/etc/rsync.exclude" in your rsyncd.conf.

Tim Conway
[EMAIL PROTECTED]
303.682.4917
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips
Available as n9hmg on AIM
perl -e 'print pack(nnnnnnnnnnnn, 
19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970), ".\n" '
"There are some who call me.... Tim?"





"Chao,Eisen R." <[EMAIL PROTECTED]>@lists.samba.org on 10/18/2001 05:52:29 PM

Sent by:  [EMAIL PROTECTED]


To:     "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc:      (bcc: Tim Conway/LMT/SC/PHILIPS)
Subject:  Re: Exclude
Classification:



Hi Folks,

I'm running rsync between an NT client and a Solaris 7 Server (Ver 2.4.6).

I'd like to be able to exclude the following directory:

     /opt/IBMHTTPDLOG/archivelogs

but retrieve

     /opt/IBMHTTPDLOG

My setup is:

     rsync -av -p -e [EMAIL PROTECTED]:/opt/IBMHTTPDLOG/
F:/opt/IBMHTTDLOG
     (client)

     rsync --daemon --exclude-from=/etc/rsync.exclude
     (server)


What I get is *everything* including the contents of the dir ./archivelogs.
What is the proper syntax ? I've tried setting up my entry in rsync.exclude
as:

     '/opt/IBMHTTPDLOG/archivelogs'
     archivelogs/
     'archivelogs/'
     ./archivelogs
     ./archivelogs/

I've also tried setting the server-side rsync daemon as --exclude
<blah-blah> to no avail.

Thanks in advance,

Eisen Chao
CNA Insurance









Reply via email to