Shared Folder Sync
Shared Folder Sync allows users to sync shared folders from one DiskStation (the source) to other DiskStations (the destinations) in LAN or over the Internet. It works on the basis of shared folders. When syncing, if there is already a folder with the same name at the destination DiskStation, the folder of the destination will be renamed as "xxxxxx_1", "xxxxxx" the original folder name. If such folder doesn't exist, it will be created in the corresponding volume or the first available volume. The privilege for accessing this folder at the destination DiskStation will be set as default, which means none privileges will be specified for this folder.
For the first time syncing, Shared Folder Sync will makes a full sync of the selected shared folder(s). Afterwards, only changed files will be synced. Files that have been removed from the source will also be removed at the destination.
To Start the Service
- Enable Shared Folder Sync: You have to enable the service on the destination DiskStation. To do so, please go to Main Menu > Control Panel > Network Backup. In the Shared Folder Sync Service tab, please check the Enable Shared Folder Sync Service checkbox to enable the service.
- Connect Shared Folder from Source to Destination DiskStation: You can sync shared folders from a source to many different destination servers. In addition, starting from DSM 4.1, Shared Folder Sync provides Multiple-Source Shared Folder Sync feature, which allows multiple clients to sync their shared folders to one DiskStation. If different clients sync an identical shared folder to one DiskStation at the same time, there will be a conflic and you will need to unlink the shared folder before another client can sync this folder to the destination. If you want to unlink the shared folder, please click the Shared Folder Sync Service tab, click Connection List, select a connection, and click Unlinkon the destination side.
Now you can start to sync shared folders from source to destination DiskStation. Please follow the sections below to continue.
Manage Sync Tasks
With Shared Folder Sync Wizard, you can easily create a sync task.
To create a sync task:
- Go to Main Menu > Backup and Restore. Then click the Shared Folder Sync tab.
- Click Create.
- Enter a name for the task.
- Select the shared folder you want to sync to the destination. Check the checkbox below to confirm and click Next to continue.
- Set up the destination and the following sync options:
- Enable transfer encryption: Encrypt data during transfer. This provides better security, while non-encrypted transfer provides better performance. You can choose according to your needs.
- Enable transfer compression: Compress data during transfer. It will save network bandwidth but increase CPU loading.
- Enable block-level synchronization: Transfer only differential data instead of whole files. It will save network bandwidth but increase CPU loading.
- Set up schedule for the task:
- Run sync every [number] hours or Run sync every [number] minutes: Run sync task by a specific interval of minutes or hours. The time starts counting from midnight. And the interval cannot exceed 24 hours.
- Run sync automatically every day at (hh:mm): Run sync task daily at specific time.
- Run sync manually: Only run sync when manually performed.
- Run sync on modification: Run sync task immediately once any change occurs at the source shared folder.
- Click Apply. Now you can see the sync task on the task list, which will be performed according to the specified schedule.
To manage a sync task:
-
Select the task on the task list.
-
Do any of the following:
-
Click Edit to edit the task.
-
Click Delete to delete the task.
-
If the sync task is not in progress, click Sync Now to perform the task right away.
-
If the sync task is in progress, click Cancel to stop the ongoing task.
Note:
If the schedule for a sync task is set as Run sync on modification, clicking Cancel would stop the ongoing sync task. However, if any changes are made to the contents of any shared folder(s) monitored by the sync task, Shared Folder Sync would resume the task again.
-
Click Full Sync to sync all data. Shared Folder Sync will run a full sync for the first time, and only sync the modified parts after the first sync. Clicking this button can help you manually sync all data again.
More Information
- Task name must be of 1 to 32 Unicode characters and must not contain the following characters:
! " # $ % & ' ( ) * + , / : ; <= > ? @ [ ] \ ^ ` { } | ~
- If you sync shared folders from ext4 to ext3 file system, you may encounter errors when the task contains over 32,000 folders.
- If the shared folders in the destination DiskStation have been synced with other DiskStation before, Shared Folder Sync will perform a full sync for the task.
- To perform Shared Folder Sync tasks, you need the admin privilege of the destination DiskStation. Either you have its admin account's password, or you are in the administrative group of it.
- When syncing to DiskStation over the Internet, you can enter the server name by its external IP address or its hostname. However, if you choose to enter its hostname, the name must be in FQDN(Fully Qualified Domain Name) format, like "www.synology.com".
- For port-forwarding, Shared Folder Sync uses port 22 for encrypted transfer and port 873 for unencrypted transfer.
- External storage devices are not supported by Shared Folder Sync.
- Encrypted shared folders needed to be mount manually with encryption key at destination.
- Scheduled Shared Folder Sync will not run at the specified time if no changes have been made to the selected shared folder.
- For best performance, we suggest each sync task includes less than 200 shared folders.