Set up real-time one-way replication
This article describes how to set up real-time replication of files from a single server to a second server for purposes of backup, data availability, or loading balancing.
Preparation
The PeerSync installation should be installed on the Source Server. The Source Server will be the server where data is modified by users, applications, etc.
Step-by-step guide
- Start PeerSync Profiler.
- From the Job menu, select Add, and then select Job with Defaults.
- From the drop-down list in the top left, change Basic to Advanced.
- In the Folder Selection window, enter the local drive path that needs to be replicated in the Source Folder field.
- Enter the UNC path or mapped drive letter for the destination of the replicated data in the Target Folder field.
- In the File Options window, select the options Add-synchronize new files and Update-synchronize existing files.
- If you would like file and folder deletion events to be replicated to the second server, select the option Replicate-Delete unmatched files.
If you enable this option, we recommend selecting the Deletion Options… button, and then selecting a folder or Recycle Bin to place the deleted files in; otherwise files will be permanently deleted from the system. - In the Automation window, select the Use real-time monitoring option.
- Click the Real-Time Options … button, and then select the Use enhanced real-time monitoring (File Level Change Detection) option. This ensures real-time events are monitored and processed.
- In the Miscellaneous window, select Use intermediate file during copy.
- (Optional) In the Startup/Services window, select the desired startup method.
To set up PeerSync unattended as a service, select Install as an NT Service. If running as a service, make sure the service is using a non-local system account, such as domain admin or any other account that has access to the replicated directories. - From the File menu, select Save or Save As to save the profile.
- Run PeerSync by going to Run/View Current Profile.