ENTRY

"Howto. DeltaCopy, Opensource rsync between linux client and windows server. 5 min step-by-step setup"

Date:November 22nd, 2014
Tags:
Comments: 0
  • Join date: 11-30-99
  • Posts: 23
View Counter:
  • 1,386 views
Rate it
Ad
Poll
  • Your favorite way to manage packages is?

    View Results

    Loading ... Loading ...
Feeds:
  • bodytext bodytext bodytext
[i]. DeltaCopy is a small rsync server for windows. It runs as windows service and uses built-in Cygwin libs to support rsync

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

Woks for:

✔ 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.

1

Get DeltaCopy

Download here under “Download Links”
http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp
With/without installer, you can choose what you prefer.

I chose “without installer” because it makes it more portable. Just directory.

2

Setup the service

– Decompress the deltacopy archive to the directory you prefer it run from.
I used C:\programs\servers\DeltaCopy

– 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:

C:\Users\diuw>whoami
mydomain\diuw

– 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”

3

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.

4

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://131.41.29.170:/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://131.41.29.170:/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!

Be Sociable, Share!
 
Interesting entry?
VN:F [1.8.5_1061]
Rating: +3 (from 3 votes)
3 votes 'YES'  0 votes 'NO'


TAGS

RELATED
Pages
Posts

SOCIAL
Be Sociable, Share!

INCOMING SEARCH TERMS



Responces

Leave a Reply