January 13, 20197 yr I search for it but only find people how talk about the rsync plugin. Here some easy step in command line: First I mounted my Synology rsync share to Unraid (NFS or SMB don't matter) Here the Synology NFS premissions settings: And here the Unraid mounting settings (/mnt/disks/ip to Synology_NetBackup: Then the command window in Unraid an wrote: rsync OPTIONS (-av) SOURCE (my Unraid Shared folder to sync) DESTINATION (my shared rsync folder on Synology + the name of the shared folder at the end) rsync -av /mnt/user/UBU/my_WWW/ /mnt/disks/192.168.0.50_NetBackup/my_WWW/ Done! But how can a make a crone job (newer done a crone job) to do it with multiple shared maps an on every night? I can do this but I don't now where to put the file och what else... # * 1 * * * rsync -av /mnt/user/UBU/MapInShare/ /mnt/disks/192.168.0.50_NetBackup/MapOnSynology/ # ┌───────────── minute (0 - 59) # │ ┌───────────── hour (0 - 23) # │ │ ┌───────────── day of month (1 - 31) # │ │ │ ┌───────────── month (1 - 12) # │ │ │ │ ┌───────────── day of week (0 - 6) (Sunday to Saturday; # │ │ │ │ │ 7 is also Sunday on some systems) # │ │ │ │ │ # │ │ │ │ │ # * * * * * # Run dayly cron jobs at 0:30: 30 0 * * 0 rsync -av /mnt/user/UBU/s-Dokument/ /mnt/disks/192.168.0.50_NetBackup/s-Dokument/ # # Run dayly cron jobs at 1:00: * 1 * * * rsync -av /mnt/user/UBU/my_WWW/ /mnt/disks/192.168.0.50_NetBackup/my_WWW/ # # Run dayly cron jobs at 1:30: 30 1 * * * rsync -av /mnt/user/UBU/Android_OnePlus/ /mnt/disks/192.168.0.50_NetBackup/Android_OnePlus/ # # Run dayly cron jobs at 2:00: * 2 * * * rsync -av /mnt/user/UBU/s-Andra_Dokument/ /mnt/disks/192.168.0.50_NetBackup/s-Andra_Dokument/ # # Run dayly cron jobs at 2:30: 30 2 * * * rsync -av /mnt/user/UBU/s-photo/ /mnt/disks/192.168.0.50_NetBackup/s-photo/ # # Run dayly cron jobs at 3:00: * 3 * * * rsync -av /mnt/user/UBU/video/ /mnt/disks/192.168.0.50_NetBackup/video/ # # Run dayly cron jobs at 3:30: 30 3 * * * rsync -av /mnt/user/UBU/TV-Share/ /mnt/disks/192.168.0.50_NetBackup/TV-Share/ # # Run dayly cron jobs at 4:00: 0 4 * * * rsync -av /mnt/user/UBU/Annso/ /mnt/disks/192.168.0.50_NetBackup/Annso/ Then I got a tips from #Squid to do it with a plugin called Userscript. Here what I do: Yes, it work an no need to read the rest below Thank you !!! Edited January 13, 20197 yr by stormense solved the problem
January 13, 20197 yr Author Done some test with two test folders and no luck. Make the file with Nano in: /boot/config/plugins/cronjobs and call it backup.cron and then wrote update_cron in terminal. 55 * * * * * rsync -av /mnt/user/UBU/test_bakup_2/ /mnt/disks/192.168.0.50_NetBackup/test_bakup_2/ /dev/null 58 * * * * * rsync -av /mnt/user/UBU/test_bakup_1/ /mnt/disks/192.168.0.50_NetBackup/test_bakup_1/ /dev/null 4 our from scratch and no succés. I think I do it from Windows because I cant find a simple guide to do this for a beginner. Edited January 13, 20197 yr by stormense
January 13, 20197 yr 27 minutes ago, stormense said: 55 * * * * * There's only 5 entries in cron. You've got 6 28 minutes ago, stormense said: rsync You may have to give it the full path to rsync /usr/bin/rsync 29 minutes ago, stormense said: /boot/config/plugins/cronjobs and call it backup.cron That hasn't worked for quite a while. You would need to put the .cron into the dynamix folder and then call update_cron (or use the user scripts plugin)
January 13, 20197 yr Author Ok @Squid: move the crone job to dynamix folder and fix the syntax. But I can't run my test job in terminal and its fine but not with crone. 55 * * * * rsync -a /mnt/user/UBU/test_bakup_2/ /mnt/disks/192.168.0.50_NetBackup/test_bakup_2/ 57 * * * * rsync -a /mnt/user/UBU/test_bakup_1/ /mnt/disks/192.168.0.50_NetBackup/test_bakup_1/ (Yes I try with: /usr/bin/rsync -a) Edited January 13, 20197 yr by stormense
January 13, 20197 yr Author I fix it with the plugin User Scripts (A plugin to act as a simple front end for any user scripts to allow you to run them without entering the command line) I gonna update my first post.
September 26, 20196 yr I'm sorry if this is a stupid question but how did you actually mount the NFS share from your Synology to UnRAID? It looks like that is on the MAIN tab but I don't see anything like that on my new install of 6.7.2 to reference. Edited September 26, 20196 yr by jlficken
September 26, 20196 yr 51 minutes ago, jlficken said: how did you actually mount the NFS share Unassigned Devices plugin
September 26, 20196 yr 26 minutes ago, trurl said: Unassigned Devices plugin Thanks!!! If you can't tell I'm new to UnRAID. I'm just trying to figure out if it's a good fit for replacing my ReadyNAS.
September 26, 20196 yr This thread just sold me on unRAID as backups were my only hangup. Thank you very much for the thread and the help!
September 27, 20196 yr Just an FYI, if you run a Synology NAS, you have access to the free Synology Active Backup app from the app store. It has a wealth of options, from VM backup/restore, to server backup (File Server). I was using this for a while to backup my unraid server, and it was painless. Edited September 27, 20196 yr by cybrnook
September 9, 20241 yr Trying to get incremental to work as we speak. It failed last night but giving it another try today as I cannot see why it failed. Any thoughts on how to find the fail point? I'm thinking it might have added a file after it started but before it completed the backup.
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.