Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to use cwRsync to back up some files from my Win7 notebook to my Synology DS211j NAS at home. (Why cwRsync? That should be another question, but basically because I tried quite a number of solutions, and none of those seemed to be doing very well at uni-directional fast backups).

This is working:

"C:\Program Files (x86)\cwRsync\bin\rsync" -avz ^
  --log-file="C:\Users\myUserName\rsync.log" ^
  --partial ^
  "/cygdrive/c/Users/myUserName/FilesToBackup" ^

This will nicely back up all the requested files to the specified local folder. I have my NAS as a mapped folder on my computer, say X:\data This:

"C:\Program Files (x86)\cwRsync\bin\rsync" -avz ^
  --log-file="C:\Users\myUserName\rsync.log" ^
  --partial ^
  "/cygdrive/c/Users/myUserName/FilesToBackup" ^

gives me the following error:

rsync: Failed to exec ssh: No such file or directory (2)
rsync error: error in IPC code (code 14) at pipe.c(84) [sender=3.0.6]
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=

I kind of thought that a mapped network drive will just act as a local folder, all the authentication stuff will be handled by windows, and rsync would just see the folder as a local one. I'm obviously wrong. How should I do this?

share|improve this question
You might want to check out Unison: – uSlackr Mar 27 '12 at 12:47
@uSlackr Unison does bi-directional folder sync. I need uni-directional syncing. See this thread: – András Szepesházi Mar 27 '12 at 12:53
up vote 3 down vote accepted

Ok that was quick,

"C:\Program Files (x86)\cwRsync\bin\rsync" -avz ^
  --log-file="C:\Users\myUserName\rsync.log" ^
  --partial ^
  "/cygdrive/c/Users/myUserName/FilesToBackup" ^

will do it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.