so there is windows xp with cwrsync installed, with the specific service started with the rsyncd.conf like this:
use chroot = false
strict modes = false
hosts allow = *
log file = rsyncd.log
pid file = rsyncd.pid
# Module definitions
# Remember cygwin naming conventions : c:\work becomes /cygwin/c/work
#
path = /cygwin/D/Lucru reviste
read only = true
transfer logging = yes
on linux station,
i try this:
/usr/bin/rsync -rb 192.168.3.65::test /backup/practic/tehno
i get this error:
@ERROR: chdir failed
rsync: connection unexpectedly closed (33 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(342)
any suggestions?
If you installed cwRsync Server without openssh component, the service account (SvcCOPSSH) is installed as an ordinary user without administrative priviliges. Check if it has read access to D:\Lucru reviste directory and its subdirectories.
I had a similar problem when setting up our backup server. My rsyncd.conf (from cwRsync 2.0.4) uses "cygdrive" instead of "cygwin." I had mistakenly used "cygwin" on one of the modules and it errored out on the Linux side. All other modules worked fine and had "cygdrive."