Welcome! » Log In » Create A New Profile

Trouble getting Rsync to talk to a WinXP machine (cygwin)

Posted by kirrus 
Trouble getting Rsync to talk to a WinXP machine (cygwin)
August 14, 2009 06:51AM
Hello all,

Trying to get backuppc working for a friend, over an OpenVPN net, backing up his desktop machine. Currently, having a lot of trouble getting rsync working.

Trying on the command line, with the backuppc user & pass, gives this:
rsync --port 873 roger-desk@roger-desk::kDrive
Password:
@ERROR: chdir failed
rsync error: error starting client-server protocol (code 5) at main.c(1383) [receiver=2.6.9]

On the server, it logs this:
2009/08/14 14:37:59 [3592] name lookup failed for 10.12.0.1: Unknown server error

2009/08/14 14:37:59 [3592] connect from UNKNOWN (10.12.0.1)

2009/08/14 14:38:03 [3592] rsync: chdir /cygdrive/c/WINDOWS/system32/k: failed

I used this how-to to setup the client on my windows machine:
http://taksuyama.com/?page_id=9
Relevant bit of that is, I did this to create a rsyncd service on the machine:
cygrunsrv.exe -I rsyncd -e CYGWIN=nontsec -p c:/cygwin/bin/rsync.exe -a "--config=c:/cygwin/rsyncd.conf --daemon --no-detach"

Can anyone help?
Trouble getting Rsync to talk to a WinXP machine (cygwin)
August 17, 2009 11:33AM
kirrus wrote:
[quote]
Trying on the command line, with the backuppc user & pass, gives this:
rsync --port 873 roger-desk < at > roger-desk::kDrive
Password:
< at > ERROR: chdir failed
rsync error: error starting client-server protocol (code 5) at
main.c(1383) [receiver=2.6.9]

[/quote]
The reason is always that rsync can't access the required directory.
Maybee because of access rights but also possible the directory not exists.

[quote]
On the server, it logs this:
2009/08/14 14:37:59 [3592] name lookup failed for 10.12.0.1: Unknown
server error

2009/08/14 14:37:59 [3592] connect from UNKNOWN (10.12.0.1)

2009/08/14 14:38:03 [3592] rsync: chdir /cygdrive/c/WINDOWS/system32/k:
failed

[/quote]I am not sure about the ":" at the end of the log message.
Also I am not sure if you specify the right path. If you want to backup the
drive K: you have to specify "path = /cygdrive/K/" in your rsyncd.conf

Please send us your rsyncd.conf file. At least the definition for the share
kDrive.

br
Matthias
--
Don't Panic

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
Sorry, only registered users may post in this forum.

Click here to login