From: Les S. <le...@cy...> - 2006-01-19 21:56:35
|
> The only problem I run into once in a while is the XP firewall, but > adding all the .exe files of C:\Program Files\cwRsyncServer\bin to the > exceptions lists, so far, has worked like a charm. > Just thought i'd share with you this..... I use the cygwin rsync from the backuppc site. its optimized to work with backuppc. It too installs as a service and starts the rsyncd daemon for you. In its package is a file called service.bat which contains... cygrunsrv.exe -I rsyncd -e CYGWIN=nontsec -p c:/rsyncd/rsync.exe -a "--config=c:/rsyncd/rsyncd.conf --daemon --no-detach" cygrunsrv.exe --start rsyncd To get around firewall issues in XP automatically add the following lines to this file..... netsh firewall set allowedprogram program = c:\rsyncd\rsync.exe name = rsync mode = enable scope = CUSTOM addresses = LocalSubnet netsh firewall set portopening protocol = TCP port = 873 name = rsyncd mode = enable scope = CUSTOM addresses = LocalSubnet netsh firewall set icmpsetting 8 enable So i usually create a self-extracting zip file of the cygwin rsyncd from backuppc site, get it to extract into c:\rsyncd and then have it run c:\rsyncd\service.bat after extracting. Ofcourse i pre-editted rsyncd.conf to suit my site needs. The only caveat......programs like Windows AntiSpyware and -virus programs will not allow a ".bat" file to be run automatically. So you have to manually go into windows explorer and doubleclick on service.bat yourself. Regards, Les |