Skip to main content
Skip table of contents

Set up real-time bi-directional synchronization

Preparation

The PeerSync installation should be installed on both servers involved in the bi-directional synchronization.

Step-by-step guide

Perform the following steps on the first server, and then repeat on the second server:

  1. Start PeerSync Profiler. 
  2. From the Job menu, select Add, and then select Job with Defaults.

  3. From the drop-down list in the top left, change Basic to Advanced.

  4. In the Folder Selection window, enter the local drive path that needs to be replicated in the Source Folder field.

  5. Enter the UNC path or mapped drive letter for the destination of the replicated data in the Target Folder field.

  6. In the Automation window, select the Use real-time monitoring option.

  7. Click the Real-Time Options… button, and then select the option Use enhanced real-time monitoring (File Level Change Detection). This ensures real-time events are monitored and processed.

  8. In the File Options window, select the options Add-synchronize new files and Update-synchronize existing files.

  9. If you would like file and folder deletion events to be replicated to the second server, select the Replicate-Delete unmatched files option.
    If you enable this option, we recommend selecting the Move deleted files to an alternate location option, and then selecting the Move Options… button and selecting a folder or the Recycle Bin to place the deleted files in; otherwise files will be permanently deleted from the system.

  10. In the File Options window, select Bi-directional (both directions), and then click OK in the dialog.

  11. Click the Global Settings link next to the Bi-directional option, and then select Always create a super-set during bi-directional synchronization.

    If you do not check the Always create a super-set during bi-directional synchronization option (doing standard or enhanced bi-directional synchronization), we recommend you add /YO- and /QYD:0 to your list of command line arguments (located in the Options/Commands window). These options will ensure that during standard or enhanced bi-directional synchronization, deleted files from one side are not re-added by the other side. These arguments should NOT be used if there are more than two machines involved in a bi-directional synchronization. You can find more information about these options in the PeerSync Help document.

  12. In the Miscellaneous window, select Use intermediate file during copy.
  13. (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.
  14. From the File menu, select Save or Save As to save the profile.

  15. Run PeerSync by going to Run/View Current Profile.

  16. Repeat Steps 1-15 on the second machine, but with the source and target paths reversed. You can also copy the .SNC file that was created when the profile was saved to the second machine and make modifications to that file. The .SNC file is stored in the PeerSync installation directory by default. 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.