moisemust Posted March 14, 2023 Share Posted March 14, 2023 Hi. I'm (very) new to unraid so I've been spending my free time over the last 2 days to try to find a way to backup my data from my Synology NAS to my Unraid server. I tried luckybackup but I can't get it to work. Backup works flawlessly on my QNAP NAS and my (former) openmediavault NAS Unraid is replacing. This is the resulting command line that shows the least amount of errors: rsync -h --progress --stats -r -tgo -p -l -D --update --rsync-path=/usr/bin/rsync --protect-args <username>@<synologyIP>:/<VolumeX>/<mysynologyfolder>/ /mnt/user/<myunraidfolder> But my backup doesn't start. I'm getting the following error: ERROR: module is write only rsync error: syntax or usage error (code 1) at main.c(877) [sender=3.1.2] Thanks in advance. Quote Link to comment
moisemust Posted March 15, 2023 Author Share Posted March 15, 2023 For the record I don't care how I do it, I just need to transfer my data. LuckyBackup seemed the simplest option. Quote Link to comment
moisemust Posted April 1, 2023 Author Share Posted April 1, 2023 OK I was able to learn that I had to mount the remote share before proceeding. I found the "Unassigned Devices" plugin, in which I was able to mount the remote share and proceed to start the copy to my unraid NAS via the GUI. BUT I still want to be able to sync my data, which I couldn't find a way to achieve. Can anyone help? Thanks in advance. Quote Link to comment
JorgeB Posted April 1, 2023 Share Posted April 1, 2023 If you run a simple rsync using the UD mount point does it work, e.g.: rsync -av /mnt/remotes/<UD NAS name>/ /mnt/user/<share>/ Quote Link to comment
moisemust Posted April 1, 2023 Author Share Posted April 1, 2023 It does! But how do I automate that? The rsync module on my Synology doesn't seem to acknowledge my Unraid NAS. It worked just fine on OMV (before I replaced OMV with Unraid). Quote Link to comment
Solution JorgeB Posted April 1, 2023 Solution Share Posted April 1, 2023 10 minutes ago, moisemust said: But how do I automate that? You can have UD run a script when the remote share is mounted, or install the user scripts plugin and have that run on a schedule. Quote Link to comment
moisemust Posted April 1, 2023 Author Share Posted April 1, 2023 24 minutes ago, JorgeB said: You can have UD run a script when the remote share is mounted, or install the user scripts plugin and have that run on a schedule. Thank you! It works so far. 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.