January 11, 20188 yr 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
January 12, 20188 yr 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?
January 12, 20188 yr 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.)
January 12, 20188 yr 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
January 12, 20188 yr 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.
January 13, 20188 yr 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?
January 13, 20188 yr 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.
January 13, 20188 yr 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 January 13, 20188 yr by Limy
Archived
This topic is now archived and is closed to further replies.