Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

rsync to Synology NAS

Featured Replies

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:

BqdONlP.png

 

And here the Unraid mounting settings (/mnt/disks/ip to Synology_NetBackup:
xnUT0so.png

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 chode_1.thumb.jpg.6a1751a27373b9a6062a06!!!

Edited by stormense
solved the problem

  • 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 by stormense

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)

  • 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 by stormense

  • 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.

 

 

  • 8 months later...

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 by jlficken

51 minutes ago, jlficken said:

how did you actually mount the NFS share

Unassigned Devices plugin

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.

This thread just sold me on unRAID as backups were my only hangup.

 

Thank you very much for the thread and the help!

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 by cybrnook

  • 4 years later...

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.