"Howto. DeltaCopy, Opensource rsync between linux client and windows server. 5 min step-by-step setup"
How to copy files from windows server to linux client in optimal way. Between linux rsync is optimal way to go, the same can be done between linux and windows, open source way, setup in 5 minutes
✔ Windows 7
✔ Any linux with rsync client
✔ DeltaCopy v. 1.4
Should also work for:
✔ Any current windows version
✔ Other DeltaCopy versions
Basically, you download the DeltaCopy, register it as a service, say where your local directories are, that’s it. Ready to rsync.
Download here under “Download Links”
With/without installer, you can choose what you prefer.
I chose “without installer” because it makes it more portable. Just directory.
Setup the service
– Decompress the deltacopy archive to the directory you prefer it run from.
– Now, start “DeltaS” or “DSetup”.
– Press “Register Windows service” button.
– Provide your local credentials or your domain credentials whatever you prefer
💡 In win 7 you can use “whoami” to find out your current user:
– Press “Start server”. If it fails to start, go to windows “services” and try starting manually.
Find “DeltaCopy server”.
I.e. if service credentials are not good, you can modify them.
For that, right mouse click on the service->properties->Log On
Further, for example try “local system account”
Setup the source directories
DeltaCopy will server the directories under “Virtual Directories”. Switch to that tab, use “Add New Directory”.
In my case I created “C:\Temp\testdir” and gave it a virtual name “testdir”.
You can use any existing directory though.
Rsync from linux
Use something like
rsync -r -t -v rsync://YOUR_HOST_IP_OR_DNS:/testdir .
First, I ran
rsync on empty dir, the I added empty “test.txt“ on the windows end. Here is what I got
[diuw@myhost logstash]> rsync -r -t -v rsync://126.96.36.199:/Testdir . receiving incremental file list ./ sent 32 bytes received 54 bytes 11.47 bytes/sec total size is 0 speedup is 0.00 [diuw@myhost logstash] rsync -r -t -v rsync://188.8.131.52:/Testdir . receiving incremental file list ./ test.txt sent 51 bytes received 118 bytes 338.00 bytes/sec total size is 0 speedup is 0.00
Works. Have fun!
INCOMING SEARCH TERMS