After few days strungle with Bash and Rsync on Windows, I decided to combine some tools from main package, because i only need Bash, Rsync and some linux tols to run on Windows 7, and here my experience.
Altought many site said that Rsync only need, this package :
- Rsync.exe - the executable program
- cygwin1.dll - the main library file needed by all Cygwin programs
- cygpopt-0.dll - the library for handling command-line options
In fact, Rsync.exe (Rsync Version 3.0.9) still need one file cygiconv-2.dll, so here's my completed file for running Rsync Version 3.0.9 on Windows 7 (64 Bit).
- Rsync.exe - the executable program
- cygwin1.dll - the main library file needed by all Cygwin programs
- cygpopt-0.dll - the library for handling command-line options
- cygiconv-2.dll - the library to handling command-line option, also necessary to implement emulator functionality
After all tools complete collected on one folder, i starting create Rsync.conf, a file that contain some neccessary configuration to start Rsync server, and here my Rsync.conf :
use chroot = false
strict modes = false
hosts allow = *
log file = Rsyncd.log
# Module definitions
# Remember cygwin naming conventions : c:\work becomes /cygwin/c/work
[test]
path = /cygdrive/D/
read only = false
transfer logging = yes
after configurating Rsync, it's time to running Rsync server with this simple command
Rsync.exe --config=Rsyncd.conf --daemon --no-detach
that command will bring up Windows DOS Prompt Windows, to stop the Rsync server is simple, just close the Windows Prompt.
To check if your Rsync server running or not, is simple to, from Windows DOS Promt, type the following command :
Rsync.exe localhost::
If you see "test" as output, then your Rsync server is running.
6 comments:
Any chance you can link where to get these files from?
Here the link http://www.brentnorris.net/rsync.zip
the mentioned location contains rsync 2.6.6 protocol version 29.
And you mention ver.3.0.9 in your blog. Is there a link to that set of rsync tools?
http://sourceforge.net/projects/backuppc/files/cygwin-rsyncd/3.0.9.0/
Hey I don't have words to describe this post for Rsync for Windows. I simply want to say that absolutely informative post. It inspires me a lot. Keep posting.
Hei.. Thank you for your comment and nice it can help you.
Post a Comment