Rsync backups


dapice

Recommended Posts

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

 

Edited by Limy
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.