By Ivy / Last Updated April 26, 2021

Need help: how to sync data between 2 servers automatically?

Syncing data between 2 servers automatically can be a great idea for team members to share data or get updated files in time. Also, it works for personal users who have 2 or more servers. But some users don't know how to do so , below are example from forum. 

"Hi. We have two servers: 1. Windows Server Standard 2. Windows Server 2008 R2. They are located in different offices, both have their own domain and active dir. None have static IP address. We have two small offices and teams and we need to have a shared folder between this two. I would greatly appreciate any help."

Synchronize Files between Windows Servers

From different forums, we know some users try "Copy" and "Paste", shared folder through network, Robocopy, or DFS, but none of them is the easiest way. The previous three methods are manual, and they are only suitable for a smal amount of files or folders. If you use it to sync a large amount of files, it will be very time-consuming.  In addition, the command line utility is difficult for many users who are not familiar with it, from learn the parameters to copy files using Robocopy.

While for DFS, it's the most popular sync tool in the server computer and supports backup only changed files with its remote differential compression(RDC). But it only works when you have an Active Directory Domain. And it only sync files stored in the partition with NTFS file system. In addition, the steps are quite complicated. If it does not matter, you can refers to sync files between Windows Servers for details.

Thus, all of them are not recommended. Then, which one should you use? You could use a professional file sync software for server computer like AOMEI Backupper Server

Sync data between 2 Windows Servers automatically in 4 steps

To sync data between 2 Windows Servers automatically, AOMEI Backupper Server is worth trying. It supports 4 sync solutions, namely, "Basic Sync", "Real-Time Sync", "Mirror Sync", and "Two-Way Sync".  Thus, you can choose the one that best meets your needs. 

  • Basic Sync: This feature can help you sync changed files from source directory to destination easily and regularly. The deleted files will not sync by default.
  • Real-Time Sync: This feature will monitor the file changes and sync them immediately when detected, so you will never miss any changes. It can greatly improve the efficiency of team collaboration. 
  • Mirror Sync: This feature will sync any changes made in the source folder to destination. Please note the newly added files in destination will be deleted and changes will be overwritten.
  • Two-Way Sync: This feature make files in the source directory and destination are exactly the same. 

In addition, this software still supports schedule backup, such as, daily, weekly, monthly, USB plug in, event triggers. All of them are avaiable in the "Basic Sync", "Mirror Sync", and "Two-Way Sync". And it supports all the server system, including server 2003/2008/2012/2016/2019 and the R2 version.

Here we will take Windows Server 2012 as an example to sync folders between Windows Servers. Before that, you need to make some preparations:

  • Make sure both server computers are in the same network location. 

  • Create a shared folder on the server computer where you want to sync files to. 

  • Download AOMEI Backupper Server and install it on the first server computer. 

Download Free Trial Server 2003/2008/2012/2016/2019
Secure Download

Step 1. Launch this software, click Sync and Basic Sync subsequently. Also, you can select the other 3 sync solutions to mirror data between 2 servers as you like.

File Sync

Step 2. Click Add Folders > This PC to add files or folders you want to sync in the first server computer.

Add Folder

Step 3. Select the shared folder on second computer to sync files to. 

In the first place, click where the arrow point and then select Share/NAS

Share NAS

Next, click Add Network Location in the pop-up window, type IP addressusername and password of the first server and click OK.

Add Network Path

Then, the second server will be listed under the Network Location tab. Just double-click it and select the created share folder.

Step 4. Click Schedule to set sync mode. After that, click Start Sync to keep files in sync between servers.

  • Daily/weekly/monthly: These features can help you sync data between 2 servers regularly and keep the latest files. Also, it can avoid data loss owing to forgeting to synchronize.

  • Event triggers: To sync files at off-peak hours, you could consider using "System Shutdown" in the "Event Triggers".

  • USB plug in: To sync files with USB drive and take it everywhere, you could use "USB plug in" feature. And the process is automatic. 

  • Wake the computer to run scheduled task: It is able to wake computer 2 minutes before the scheduled task start, which is convenient to sync files during the off-peak hours. 

Schedule Settings General

Notes: 
Don’t modify the name of the source folder of a scheduled sync task, or the program cannot synchronize it anymore.
"Basic Sync" does not sync deleted files unless you enable "Sync the deletions in source directory to destination" in Options. 

Conclusion

With the help of AOMEI Backupper Server, you can sync data between 2 servers automatically in 4 steps. It is simple and easy to use. It supports 4 sync solutions so as to meet the need of different users. Also, multiple schedule backup settings are supported. 

However, the server edition supports up to 5 servers. To protect data on unlimited servers within one company, you could consider using AOMEI Backupper TechPlus. And it supports creating portable version of this software and directly run off a removable device on the target computer without installing.