Rsync

You can allow other users to back up data via rsync from a Synology NAS or rsync-compatible clients to your DiskStation.

Enabling rsync Backup Service

To enable rsync service:

Go to Control Panel > File Services > rsync, and select Enable rsync service.

To assign rsync backup privileges:

Assign proper rsync privileges to users so that these users can back up data from a source Synology NAS or an rsync-compatible server to the destination Synology NAS.

  1. Go to Control Panel > Privileges.
  2. Select rsync (Shared Folder Sync, LUN Backup on supported models) and click Edit to assign privileges.
  3. Assign Allow privileges to the desired users (DSM users for encrypted rsync, or rsync accounts for unencrypted rsync), or further specify the allowed IP addresses for specific users.

Note:

To perform rsync backup from a DiskStation running a version of DSM before 3.0 or a client that is not a DiskStation, and to retain the source data's owner and group information, you must add the rsync accounts to the administrators group, and back up data to the NetBackup shared folder in the daemon mode.

Enabling Rsync Accounts

If you perform rsync backup from a non-Synology NAS client, you have to create rsync accounts on the destination Synology NAS so that the rsync users can back up data to your Synology NAS.

To enable rsync accounts:

  1. Go to Control Panel > File Services > rsync, and select Enable rsync account.
  2. Click Edit rsync Account to set users and corresponding passwords for authentication.
  3. Click Apply.

Note:

Using Customized rsync Configuration

You can use customized rsync configuration, and configure user privileges and backup destination on your DiskStation. Other people can therefore perform rsync backup from their DiskStation devices or rsync-compatible clients to the destination shared folders (or "backup modules") on your DiskStation.

To use customized rsync configuration:

  1. Log in to your DiskStation device via Telnet or SSH.
  2. Specify the backup module and authorized users in the rsync configuration file "/etc/rsyncd.conf". For detailed information, refer to the manual page of rsyncd.conf on your rsync client or here.

Note:

If the backup module and the shared folder share the same name, the backup module setting will be used.

Enabling Speed Limit

You can control the maximum usable bandwidth of rsync backup for users and groups.

To enable speed limit:

  1. Go to Control Panel > File Services > rsync. Select any of the following:

    Note:

    This is a server-wide setting and will override the settings of individual users and groups. For example, choosing No speed limit disables the speed limit settings of all users and groups.

  2. If you have enabled speed limit, click Speed Limit Settings, and click the desired user/group to modify the settings:
  3. Click Apply.

Note:

The Result (UL/DL) section displays the user's actual upload and download limit according to his individual and group settings. For example, if a user "Achilles" has an individual download limit of 100 KB/s, but belongs to a user group with a download limit of 500 KB/s, then the Result (UL/DL) section will display "0/500".