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.

Recommendations for "rotation" Rsync backup of remote system to UNRAID server?

Featured Replies

I've gotten RSYNC sucessfully pulling a "remote system" (eg, a webserver I have - out in the 'sky') -- and I really love the "daily/weekly/monthly" style of backups provided by 'automysqlbackup' on that remote site.

 

I'm wanting to do the same thing to my UNRAID server for all the "other" files -- PDFs, HTML, etc stored "out in the sky"

 

I AM NOT A UNIX person -- but pretty dangerous.... :)

 

Any recommendations for such scripts that would do - auto-magically - an rsync into automatic "daily/weekly/monthly" backups -- using hard-links so that I'm not wasting a bunch of space.

 

I need to run the script - *ON* my Unraid server - to *PULL* the remote files down...

  • Author

Does the remote system run an rsync server?

 

Yes... I can RSYNC between the systems.  (Well, specifically, I initiate on the UNRAID server to do it)

I add this line to the go script:

cp /boot/custom/rsync-disk2 /etc/cron.daily

You can change daily to weekly or monthly as desired.

 

This is the script to be run daily (the contents of /boot/custom/rsync-disk2):

#!/bin/bash
rsync -lpgoDvrH --timeout=120 --progress --size-only /mnt/disk2/ rack::mnt/disk2/

  • Author

I add this line to the go script:

cp /boot/custom/rsync-disk2 /etc/cron.daily

You can change daily to weekly or monthly as desired.

 

This is the script to be run daily (the contents of /boot/custom/rsync-disk2):

#!/bin/bash
rsync -lpgoDvrH --timeout=120 --progress --size-only /mnt/disk2/ rack::mnt/disk2/

 

Thank you ever so kindly.  This is quite similar to what I have been doing,  but it is rather static.  In my original post,  I was looking for something a bit more complex...  my desires are:

 

1) Daily/weekly/monthly backups with rotation

2) Hard-link support so that the same file isn't physically duplicated if it exists in a prior backup

 

I've been looking at the YARBU script -- http://yarbu.sourceforge.net/ - but the documentation and examples are scarce -- it simply assumes you "know what you are doing"

 

I figured that instead of re-inventing the wheel, that somebody out there - with an UNRAID box {or perhaps even just a home linux/unix system} had found a script that works well for them for such rotation/hard-links.

Archived

This topic is now archived and is closed to further replies.

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.