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."
Do you have similar questions? Don't worry too much and this is what I'll share with you in this article. Please keep reading below to get the working methods. Here are four ways prepared for you.
3 Common Ways to sync folder between Windows Servers
# 1: Synchronize files between Windows Servers using external storage
Using external storage to sync files between Windows Servers is one of the most common ways. It's simple and easy to operate. The detailed steps are as follow:
Step 1. Plug your USB flash drive into the first server and make sure it can be detected.
Step 2. Locate the files or folder you want to sync, then copy and paste them to your USB drive.
Step 3. Safely remove your USB flash drive and plug it into the second server. Then, copy and paste data to where you want to store.
# 2: Windows Server sync folder through network
Local network can also be a great idea if your server computers are on the same network. You just need to create a shared folder with permission and then access data from another server.
Step 1. Add data you want to sync into a folder.
Step 2. Right-click the folder contaning all files you want to sync and then choose Properties > the Sharing tab > Share.
Step 3. Type everyone and click Add. Then, click the inverted triangle of everyone and select Read/Write.
Step 4. Go to another server and access the shared folder though IP address.
# 3: Sync data between 2 servers via DFS replication
DFS Replication is a built-in sync tool for server, but it's not installed by default. Therefore, you need to manually install it via Server Manager.
Step 1. Install DFS Replication. You can navigate to Server Manager>Roles>Add Roles, then follow the prompt on the Add Roles Wizard until the last step.
Step 2. Sync data between two servers. You can click Start>Administrative Tools>DFS Management>Replication> New Replication Group subsequently, then follow the New Replication Group Wizard. More details, check in sync files between Windows Servers.
Easiest way: sync data between 2 Windows Servers automatically with AOMEI Backupper
To sync data between 2 Windows Servers automatically, it's suggested to use a professional file sync software like AOMEI Backupper Server, which works well in file sync. With its "Basic Sync" feature, you can schedule sync folders in Windows Server 2012/2016/2019 and previous versions. Also, this software still supports "Real-Time Sync", "Mirror Sync", and "Two-Way Sync".
Here take Windows Server 2012 as an example to show you the specific steps. 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.
Step 1. Launch this software, click Sync and Basic Sync subsequently.
There are 3 more different sync options you could use. They are designed for specific needs.
• 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.
Step 2. Click Add Folders > This PC to add files or folders you want to sync in the first server computer.
Step 3. Select the shared folder on second computer to store files.
In the first place, click where the arrow point and then select Share/NAS.
Next, click Add Network Location in the pop-up window, type IP address, username and password of the first server and click OK.
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 sync folders between Windows Server.
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.
• 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.
• The server version supports up to 5 servers. But if you want to protect data on unlimited servers within one company, you could consider using AOMEI Backupper TechPlus.
That's all for how to sync data between 2 servers automatically. External storage, local network or DFS replication can help you, but they are limited, these methods are either manual or complicated. Therefore, it's recommended using file sync software AOMEI Backupper Server to sync folders. Its schedule settings can help you sync files regularly without human intervention. Also, you can use "Real-Time Sync" to track changes in real-time.