Rsync Windows – Using Deltacopy as rsync for Windows

Rsync Windows (DeltaCopy)
Rsync Windows (DeltaCopy)

Rsync Windows (Deltacopy) Introduction

Rsync Windows DeltaCopy is a Windows friendly open source software for executing any backup task. In short it is rsync Windows gui application. Rsync tool is a great tool to take backup in Linux/UNIX environment, it is widely used and perform as file transfer and file synchronization tool. However in this tutorial we will utilize the potential of rsync in Windows. To know more about using rsync in Linux check this Rsync examples in linux.
You need to install Deltacopy client on the client computer and Deltacopy server on the server to sync files and directories between the two.

Deltacopy utilizes the feature of  rsync for Windows, Lets see how to download and install Deltacopy software on Windows and learn Windows rsync.

Also See how to rsync exclude files in Linux/UNIX while taking backups.

Features summary of Rsync Windows DeltaCopy

  • It has a Windows friendly environment
  • Open source
  • Notification by email
  • Set task schedule
  • Incremental backup
  • Can take backup of Windows to Linux/UNIX
  • DeltaCopy client and server can run in same computer
  • Works in Windows 7 and in Linux/UNIX with rsync client

Deltacopy download

Deltacopy is an opensource software. You need to download Deltacopy first. The application will act as Rsync Windows client and server.

Deltacopy install

When you are done with downloading Deltacopy, then you have to install the software on your Windows computer.

Rsync Windows Deltacopy install
Rsync Windows Deltacopy install


Deltacopy server setup

When you know that Delta copy is installed successfully on your system, then its time to set up Deltacopy server on your Windows.
Launch Deltacopy server from your Windows start menu, a window will appear, now click on "Register Windows Service". It will register Deltacopy service on your Windows machine.  

Rsync Windows (Delta copy server) register
Rsync Windows (Delta copy server) register

On clicking the button, a new window will appear, which will ask you to enter the Account name and Password of the user account for which you want the Delta copy service be available to.

Rsync Windows (Deltacopy server register account)
Rsync Windows (Deltacopy server register account)

You need to be cautious when entering the Account name and password, otherwise it will give error later.
Finally click on "OK" button to save and exit. Now you are done with Deltacopy server set up on your Windows. This is how we will setup Windows rsync server.

Deltacopy server console

Launch Deltacopy server console from your Windows search. Once launched, you will find "Start Server" button to be enabled. Click on "Start Server" button to start the server.

Deltacopy server console
Deltacopy server console

If not configured properly during Deltacopy server set up, you may get the below error message.

"Could not start the service. The service could not be logged on. Check user id and password specified for login".

There is no need to be panic, the above message means that you entered an incorrect "Account name" or "password" during the set up.
To fix up the issue, you need to log on as "Local System account" and run the service. To do that follow the below path.

- Go to Control panel and click on Administrative tools.
- Now click on services and choose Deltacopy server option.
- Choose properties by right mouse click on it.
- A new window will appear, then select Log On tab.
- Finally, select Log on as "Local System account" and click "Apply" and then "OK"
Deltacopy local system account
Deltacopy local system account

Now, open the Deltacopy server console again and start the server, the server should be started normally this time.

Deltacopy virtual directory

To do rsync windows create a directory on the server side. This directory will be used by the client to sync its files.
On Deltacopy server console select the tab "Virtual Directories". Now double click on the "Add New Directory" on the left side of the new window. Enter the alias name of your choice and click "OK". You can keep the alias name "Important" or "newbackup" or whatever you want, but there shouldn't be any space between words.

Deltacopy server add new directory
Deltacopy server add new directory

Now click on "Browse" to specify the directory, where you are going to keep the backup.

Deltacopy server browse directory
Deltacopy server browse directory

Deltacopy client set up

We are going to setup Deltacopy client on the same Windows computer where Deltacopy server is configured. But in the real life scenario you have to install the Deltacopy server on the server side Windows and Deltacopy client on the client side. However, as this tutorial is to test Deltacopy, So, it is not required here.
To set up Deltacopy client, launch Deltacopy client. Add  Profile name as "TestBackup", if you want you may give the profile name of your choice like "client".  Add Server IP/Host name as "localhost", if it doesn't take localhost then give "", click on "..." on the right side of the Virtual Directory Name to connect to the localhost, It will show all the available directory by the drop-down menu.
Finally, click on "Test Connection" to check connection is fine.
Now, you can click on "Add Profile" to add the profile to Deltacopy client.
Subsequently, your profile will be created on the left side.

Deltacopy client add new profile
Deltacopy client add new profile

To add folder which you want to backup, click on the profile and click "Add Folder" on the right side to select the path of the folder.
Now, right click on the profile and click "Run Now" to perform the manual backup task.

Deltacopy client run now
Deltacopy client run now

 You will see the progress of the backup as given in the image below.

Rsync Windows ( Deltacopy client backup)
Rsync Windows ( Deltacopy client backup)

Rsync Windows to Linux

Suppose you want to take backup of your Windows file to a Linux or UNIX server, then you need to use SSH tunneling to connect to your remote Linux or UNIX system. First of all, install rsync and openssh-server on the Linux system. We will use Deltacopy client on Windows and rsync on Linux/UNIX.
Later you have to create a public and private key in Windows to use the SSH feature.

If you are using Red hat based system, type the below command to install openssh-server and rsync.

# yum install openssh-server
# yum install rsync

If you are using Debian based system, use the below commands to install.

# apt-get install openssh-server
# apt-get install rsync

Also check this article for Rsync passwordless ssh login in Linux.

Create public and private key in Windows

To utilize the feature of deltacopy ssh you have to create a ssh private and a public key in Windows by downloading and installing openSSH for Windows. Go to the following link to download openSSH. By default openSSH install in the path "c:\Program Files\OpenSSH\".
Go to bin in the c:\ drive under OpenSSH and run the command "ssh-keygen.exe -t rsa" to generate ssh keys.
Press enter, when asked to give the password.

In my case it is installed in "Program Files(x86)"

C:\Program Files (x86)\OpenSSH\bin>ssh-keygen.exe -t rsa


When asked to enter file in which to save the key, change the path to DeltaCopy folder to save your private and public key.
Now, export the public key to your Linux or UNIX server through Filezilla or  FTP transfer and save it under /home/USER/.ssh/ directory, rename the public key file as 'authorized_keys'.
NOTE- Do not use root user and don't copy public key to root home directory.
Now, your both Windows and Linux system should able to connect with each other via ssh. Do the following test given below.

Test ssh connection

Test ssh connection to Linux/UNIX server manually by using the below method on your Windows system.

ssh user@

You IP should be the IP address of your system.


See how to import mysql database from dump (backup) in Linux/UNIX

Rsync test

Do the rsync test on your Linux/UNIX server by the following way. The following method should transfer the whole directory ''dir" to the remote Windows system

$ rsync -auv  dir/  rsync://

Open Deltacopy client console

Open Windows rsync client (DeltaCopy client console) and do as given below.

At this time you have to create a new profile called "ssh_connect".  Your virtual directory would be the user's home directory on your Linux or UNIX system.

- Select 'Option' tab and check 'Connect via SSH.
- In the 'Additional Parameters' type   -e "-l login_name -i ssh_privatekey" . Here the 'login_name' is the user on your Linux or UNIX system.
- Now run the new profile.

Rsync Windows (DeltaCopy client)
Rsync Windows (DeltaCopy client)


Rsync Windows Modify schedule

You can schedule your backup according to your needs. Open DeltaCopy client console and click on "Modify Schedule" to schedule backup, a new window will open.

Rsync for  Windows (Modify schedule)
Rsync for Windows (Modify schedule)

Select the tab "Schedule" and click on "New" button to set backup start date and timing. You can schedule the task Daily, Weekly, Monthly or Once etc.

Rsync Windows schedule (Set backup date and timing)
Rsync Windows schedule (Set backup date and timing)

Finally, DeltaCopy is a best opensource software for Windows for taking incremental backup, very easy to set up and use.
This is it with the tutorial Rsync Windows - Using Deltacopy as rsync for Windows. If you like this tutorial then please Don't forget to comment and share.



Download Our Free eBook now

Linux and UNIX Shell scripting ebook

2 Comments on Rsync Windows – Using Deltacopy as rsync for Windows

  1. Obviously deltacopy is one of the popular software to do the trick. I used it myself for a long time but was highly disappointed from the results. The one program that is similar to RSync and is best of its kind for windows is GS RichCopy 360 Enterprise. This program works almost the same way except it is DESIGNED for windows and offers a lot more features, it is simple to use and comes with great support. They offer free trial, try it and decide. You can get it from:

Leave a Reply

Your email address will not be published.