rsync Windows UNC

Matt McCutchen matt at mattmccutchen.net
Mon Mar 17 15:19:25 GMT 2008


On Mon, 2008-03-17 at 15:57 +0100, Kalb Stefan wrote:
> I try to backup files from a NAS to our backup-server using rsync.
> The NAS itself is not able to run rsync.
> Therefore I installed rsyncd (cwrsync 2.1.1) on a windowsserver which
> has access to the NAS.
> I configured the rsyncd like this:
>  
> [nspPR53_so2]
> path = /172.21.87.9/nspPR53_so/material/doc
> read only = true
> transfer logging = yes
>  
> When connecting with the client I get the error message:
> rsync rsync://172.21.87.14/nspPR53_so2
> @ERROR: chdir failed
> rsync error: error starting client-server protocol (code 5) at
> main.c(1383) [receiver=2.6.9]
>  
> Any ideas what I'm making wrong?

The module path needs to be of a form recognized by Cygwin as UNC.  You
could try a double slash at the beginning, but the most reliable
technique is generally to map a network drive, say N:, and then refer to
that drive: /cygdrive/n/nspPR53_so/material/doc .

Matt



More information about the rsync mailing list