modules and rsyncd.conf

5 posts / 0 new
Last post
KenSenior
Offline
Last seen: 14 years 10 months ago
Joined: 01.05.2008 - 21:33
modules and rsyncd.conf

I have verified that rsync works with the standard call syntax but am having difficulty getting modules to work. cwRsync seems to hang and timeout with modules. Anybody have any ideas? My configuration file follows:
use chroot = false
strict modes = false
hosts allow = 192.168.0.3
log file = rsyncd.log
pid file = rsyncd.pid

# Module definitions
# Remember cygwin naming conventions : c:\work becomes /cygwin/c/work
#

path = "/cygdrive/c/Documents and Settings/senior/My Documents"
read only = true
transfer logging = yes

itefix
Offline
Last seen: 4 hours 50 min ago
Joined: 01.05.2008 - 21:33
Re: modules and rsyncd.conf

You don't need double quotes:

path = /cygdrive/c/Documents and Settings/senior/My Documents

KenSenior
Offline
Last seen: 14 years 10 months ago
Joined: 01.05.2008 - 21:33
Re: modules and rsyncd.conf

I also tried it with just path=/cygdrive/c
and the process hangs. Has anyone else encountered this?

itefix
Offline
Last seen: 4 hours 50 min ago
Joined: 01.05.2008 - 21:33
Re: modules and rsyncd.conf

I have a similar errormy rsyncd.conf is
use chroot = false
strict modes = false
hosts allow = *
log file = rsyncd.log
pid file = rsyncd.pid

# Module definitions

path = /cygdrive/f/PUBLIC/_PHOTOS
comment = Photo Directory
read only = false
transfer logging = yes

and I can run a
rsync rsync://server
and it lists the contents of the _photos Directory, but when I try to do a sync, it creates a new directory
my command is

rsync -avz -e 'ssh -i cwrsync' "/cygdrive/c/Easy Share Photos/" svcwrsync@server:photos

it will create a directory called photos under c:\program files\cwrsyncserver\var\svcwrsync

trying to get the sync to goto the f:/PUBLIC/_PHOTOS Directory

itefix
Offline
Last seen: 4 hours 50 min ago
Joined: 01.05.2008 - 21:33
Re: modules and rsyncd.conf

I have a similar error

rsync -avz -e 'ssh -i cwrsync' "/cygdrive/c/Easy Share Photos/" svcwrsync@server:photos

it will create a directory called photos under c:\program files\cwrsyncserver\var\svcwrsync

trying to get the sync to goto the f:/PUBLIC/_PHOTOS Directory

Try to use

rsync -avz "/cygdrive/c/Easy Share Photos/" server::photos

The command above contacts rsync server directly. No ssh is needed. You can establish an external ssh tunnel if security is a issue.

Topic locked

Release news