Jump to content

Rsync backups


dapice

Recommended Posts

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

Link to comment
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.)

Link to comment
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
Link to comment
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.

Link to comment

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

 

Link to comment

Archived

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

×
×
  • Create New...