I have setup the Backup User for the 50GB backup plan using rsync between my Ubunutu box and DH Backup User. I can run the command like:
rsync -e ssh -av /var/www @server.dreamhost.com:~/testbkup
and it works fine.
The catch is that I have to give password everytime I run that command. I have tried to out the authorized_keys file (with the public key of my Ubuntu machine) under .ssh directory in the root of my backup directory but it does not work either.
Any idea if this can be done?
If not, then can I write a shell script and have a cron setup to execute that? How would I tackle the password prompt in the shell script?