Backup Synology to Unraid

The easiest way to backup a Synology NAS to Unraid Server is to use Hyper Backup on Synology and rsync on Unraid.

Click to Read More

First, enable rsync on your Unraid Server. It is preinstalled but not runing as a daemon.

Create a file /boot/custom/etc/rsyncd.conf with the following content:

uid             = root
gid             = root
use chroot      = no
max connections = 4
pid file        = /var/run/
timeout         = 600

    path = /mnt/user/backups
    comment = Backups
    read only = FALSE

Here above:

The name "backups" between brackets will be visible as "backup module" from the Synology. You can create several blocks like this one.

The "path" must exist on your Unraid server.


Next, create a file /boot/custom/etc/rc.d/S20-init.rsyncd with the following content:


if ! grep ^rsync /etc/inetd.conf > /dev/null ; then
cat <<-EOF >> /etc/inetd.conf
rsync   stream  tcp     nowait  root    /usr/sbin/tcpd  /usr/bin/rsync --daemon
read PID < /var/run/
kill -1 ${PID}

cp /boot/custom/etc/rsyncd.conf /etc/rsyncd.conf

Finally, add the following line in the file /boot/config/go :



Now, either reboot or execute: bash /boot/custom/etc/rc.d/S20-init.rsyncd


Go now on your Synology and open "Hyper Backup" to Create a new Data Backup Task:

Select rsync as Backup Destination:

And Create the backup Task with "rsync-compatible server" as Server Type:

3 thoughts on “Backup Synology to Unraid

  1. Thanks for this - great explanation and worked for me.
    (note to execute /boot scripts in unraid >6.8, must use "bash /boot/....." )

  2. Excellent description and how to. Thank you. I had seen something similar on other sites, but it wasn't as clear as this one.

    One question though. I rebooted my unRAID server and the /boot/custom/etc/rc.d/S20-init.rsyncd did not execute. I do have that line within the go file in /boot/config/. I needed to manually run the "bash /boot/custom/etc/rc.d/S20-init.rsyncd" command for my Synology HyperBackup to see the rsync server as online.

Leave a Reply

Your email address will not be published. Required fields are marked *