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.

SSH Rsync Script - SSHpass

Featured Replies

Hopefully I'm asking this question in the right place 

 

I want to run a script that will run rsync via SSH to backup Unraid shares to another server. I want this to run without the need for manual intervention adding a password etc 

 

I have done some investigation and I can see using sshpass might be possible - can this be added to my Unraid server ?

 

Thanks in advanced

You can run the User Scripts plugin to schedule your scripts.

 

Public key auth would be your solution to allowing it to run with no manual intervention.

 

LimeTech actually published a guide about the very thing you are trying to do: https://unraid.net/blog/unraid-server-to-server-backups-with-rsync-and-wireguard


It uses WireGuard, but if you have another solution just skip that part and start at the section titled "Setting up Site A and Site B for RSYNC"

 

SpaceInvaderOne I believe has also done a walk through video on the subject. EDIT: I was wrong or I can't find it.

 

As for adding SSHPass, you could see if it is listed in

or ask for it to be added to the list of available packages for the plugin. Though IMO Public key auth is the better way to go anyways.

Edited by weirdcrap

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.