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.

USB backup script

Featured Replies

I am looking to backup some shares from my server to a usb drive which I will connect as an unassigned drive to the array. How can I cron a script to run automatically and copy the data from the array to the drive? 

 

I have a script ready but I am just not share where to copy it for unraid to execute it and how to cron it like I normally would on a linux machine. 

 

 

Any help would be appreciated. Thanks. 

Unassigned Devices can run a script whenever you plug in the drive

 

For scheduling, use the user scripts plugin

  • Author

Oh awesome! thank you so much. This is exactly what I was looking for. I have run into just one hitch though. 

 

I want one line of the script to complete first before it moves to the next. For instance I want share A and B to sync using rsync before I empty Share A to the usb backup. 

 

In ubuntu, I use "wait %%" between rsync jobs to achieve that but that command is somehow messing up unraid and its not running the script.


Any suggestions?

 

If you're not running rsync as a daemon then it should finish the job before carrying on to the next line in the script

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.