SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Trouble getting Rsync to talk to a WinXP machine (cygwin)
Author Message
Post Trouble getting Rsync to talk to a WinXP machine (cygwin) 
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?

View user's profile Send private message
Post Trouble getting Rsync to talk to a WinXP machine (cygwin) 
kirrus wrote:

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]


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


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 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/

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB