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 backups

Featured Replies

Hi i just got rsync to work between my two unraid servers. is there a way to schedule the rsync code so i dont have to manually put it in every time i want to backup. similar to the mover every night it will backup my main server to my backup serve? thanks

I would try the User Scripts plugin.

  • Author

i have tried that plugin with no success. i beleive its because in the terminal after puting in the code it asks for the password of the root profile on that server. is there a way to get around the password?

5 hours ago, dapice said:

i have tried that plugin with no success. i beleive its because in the terminal after puting in the code it asks for the password of the root profile on that server. is there a way to get around the password?

 

I'm not following this. Maybe explain step by step or else maybe someone else understands. (I am by no means an expert.)

i have tried that plugin with no success. i beleive its because in the terminal after puting in the code it asks for the password of the root profile on that server. is there a way to get around the password?
Can't you include the login credentials in the rsync command options?

And as you already found any interactive script will not working properly with the plugin
  • Community Expert
53 minutes ago, Squid said:

Can't you include the login credentials in the rsync command options?

I believe you can't, you can generate an ssh key for passwordless rsync, I was going to look into that but since my backup servers are only on for a few hours once a week during the backups I just been using root without password.

I think I understand now. Would it be possible to use Unassigned Devices to add a remote share with the proper credentials and then have the script point to that?

I have tried that! But for some reason rsync didn't work well, it tried every time to sync the same existing files to target and I don't know what's the solution.

I use this command on Mac OSX to send files to a remote server.  I have not tested it on unRAID, but if you setup ssh on your unRAID server and modify this command as necessary, I'm sure it will work.

 

rsync -avzP --exclude=".DS_Store" --delete --chmod=Du=rwx,Dgo=rx,Fu=rw,Fgo=r -e "/usr/bin/ssh -p optionalport" /Users/username/some/folder/ [email protected]:/var/www/html

 

Edited by Limy

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.