RSync from NAS machine over WinXP with cwRSync to another PC

Manfred Rebentisch mrebentisch at comparat.de
Fri May 16 09:07:00 GMT 2008


Hello Matt,

Am Donnerstag 15 Mai 2008 20:54 schrieb Matt McCutchen:
> On Thu, 2008-05-15 at 13:11 +0200, Manfred Rebentisch wrote:
> > some people want to use the following construction:
> >
> > they have a NAS machine with an integrated rsync  (may be on embedded
> > linux).
> >
> > they have a WinXP with cwRsyncServer (with rsync 3.0.2)
> >
> > and they have on WinXP a network share (i.e. Y:
> > == "//192.168.100.123/sharename")
> >
> > They can use NAS / WinXP with cwRsync to copy files from NAS to a local
> > path on the WinXP machine.
> >
> > But how to configure it, if they want to copy to Y: ?
>
> To copy to Y:, just change the destination of the command to the desired
> path beginning with /cygdrive/y .
>
> > They use rsync server on windows with a "secrets file" and the following
> > module definition in rsyncd.conf (on WinXP):
> >
> > [sharename]
> > path = //192.168.100.123/path/sub
> > read only = false
> > auth users = bkupuser
> > transfer logging = yes
> >
> > Is that the right way?
>
> No, since the NAS has its own rsync and the destination share is
> available at a local path (/cygdrive/y), there is no need to set up an
> rsync daemon (server) on the Windows machine (unless I'm
> misunderstanding your setup).

It is not possible, if I do the right.
Without rsync daemon, rsync tries to use ssh, but there is no ssh on this 
windows machine.
It does not work with /cygdrive/y 

I am confused.

mareb at ws24:~$ rsync -avvv /home/mareb/sb/cp/bkupweb/src/ 
rsync://mareb@192.168.100.4/sharename
opening tcp connection to 192.168.100.4 port 873
sending daemon args: --server -vvvlogDtpre.i . sharename/
Password:
@ERROR: chdir failed
rsync error: error starting client-server protocol (code 5) at main.c(1513) 
[sender=3.0.2]
_exit_cleanup(code=5, file=main.c, line=1513): about to call exit(5)

Manfred


More information about the rsync mailing list