Shared Folder Sync
The Shared Folder Sync service allows users to sync shared folders from one Synology NAS device (the source) to other Synology NAS devices (the destination) in LAN or over the Internet.
Shared Folder Sync will perform a full sync of the selected shared folder(s) for the first time. Afterwards, only changed files will be synced. Files that have been removed from the source will also be removed from the destination.
Note:
- Shared Folder Sync is a one-way sync solution, syncing the files at the source to the destination. For a 2-way sync solution, please use Cloud Station ShareSync.
- If on the destination exists a shared folder that has the same name (e.g. SharedFolder) with the source shared folder, the destination folder will be named "SharedFolder_1".
- If on the destination exists no shared folder that has the same name with the source shared folder, a folder will be created using the name in the corresponding or the first volume available.
- By default, no user will have privileges to access the shared folder on the destination. Please contact the destination admin for privileges.
Enabling the Service
To enable Shared Folder Sync:
You have to enable the service on the destination Synology NAS first.
- Go to Control Panel > File Service > rsync
- Select Enable rsync service to enable the Shared Folder Sync service.
- Click Apply.
To unlink shared folders from destination Synology NAS:
If different sources simultaneously sync an identical shared folder to one destination DiskStation, there will be a conflict. You will need to unlink the shared folder on the source side before another source can sync its folder to the destination.
- Log in to the destination Synology NAS, and go to Control Panel > Shared Folder Sync > Connection List.
- Select the conflicting connection from a source Synology NAS, and click Unlink to remove it.
Now another source can sync the shared folder to the destination DiskStation.
Managing Sync Tasks
To create a sync task:
- Log in to the source Synology NAS, and go to Control Panel > Shared Folder Sync > Task List.
- Click Create.
- Enter a name for the task.
- Select the shared folder you want to sync to the destination.
- Specify the destination Synology NAS and the following sync options:
- Customize SSH encryption port for encrypted shared folder sync: Specify the desired encryption port for SSH transfer encryption.
- Enable SSH 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.
- When prompted, select any of the following options to decide when to sync from the source to the destination:
- Run sync on modification: Run the sync task immediately once any change occurs at the source shared folder.
- Run sync manually: Run the sync task manually from the source shared folder.
- Advanced schedule: Click Schedule Plan to specify when to perform the sync task.
- 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:
- On the source Synology NAS, go to Control Panel > Shared Folder Sync, click Task List, and select the desired task.
- 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.
-
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 the destination 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.
- When the Shared Folder Sync task runs, the encrypted shared folder(s) at the destination will be automatically mounted; however, to access the data inside, you must mount the encrypted shared folder(s) at the destination first.
- 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.
- The User Home function will be disabled on the destination DiskStation if the homes shared folder is synced from the source DiskStation to the destination DiskStation.
- For models with non-Intel CPUs, you can sync up to 100,000 shared folders (including subfolders) using Shared Folder Sync.
- Shared Folder Sync can back up Windows ACL settings when the destination file system is ext4 or Btrfs.
- Shared Folder Sync will fail if you are syncing to a destination server which shares the same name as your DiskStation.
- Advanced Shared Folder Permissions at the source will not be syncronized to the destination. Furthermore, a read-only rule for administrators group will be created at the destination.
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 the destination 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.
- When the Shared Folder Sync task runs, the encrypted shared folder(s) at the destination will be automatically mounted; however, to access the data inside, you must mount the encrypted shared folder(s) at the destination first.
- 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.
- The User Home function will be disabled on the destination DiskStation if the homes shared folder is synced from the source DiskStation to the destination DiskStation.
- For models with non-Intel CPUs, you can sync up to 100,000 shared folders (including subfolders) using Shared Folder Sync.
- Shared Folder Sync will fail if you are syncing to a destination server which shares the same name as your DiskStation.
- Advanced Shared Folder Permissions at the source will not be syncronized to the destination. Furthermore, a read-only rule for administrators group users will be created at the destination.