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 running 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/rsyncd.pid timeoutย ย ย ย = 600 [backups] ย ย 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” (here /mnt/user/backups) must exist on your Unraid server (create this one as a shared folder, to be able to access the backup later from any PC)
- Notice: the folder /boot should exist. But you could possibly have to create the subfolders /custom/etc
ย
Next, create a file /boot/custom/etc/rc.d/S20-init.rsyncd with the following content:
#!/bin/bash
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
EOF
read PID < /var/run/inetd.pid
kill -1 ${PID}
fi
cp /boot/custom/etc/rsyncd.conf /etc/rsyncd.conf
Finally, add the following line in the file /boot/config/go :
#!/bin/bash
bash /boot/custom/etc/rc.d/S20-init.rsyncd
ย
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:

In order to access the backup and retrieve files from a PC, use the application “Hyper Backup Explorer” from Synology and open the backup file .bkpi located under \\<YourServer>\backups\<Yourbackup>.bkp\
![]()
Leave a Reply