rsync -avz -e 'ssh -p xxxx' user@server1.com:/var/ /var
Typing it in is not an issue, if i remember to do it every few days.
I know I need a key to allow the cron access , or not ask for a password each time defeating the automated process. Iv'e made my key on the local server and tried uploading it to the remote server
scp /root/rsync/key.pub user@server1.com:/root
Which fails due to not being on port 22
So thats actually where I'm stuck. I know I need to specify the proper port , and have tried several things but it always fails, I'm obviously not getting it right.

















