I have a wordpress installation that lives on a FreeBSD machine running apache. I need to create a cron job that will run Rsync and push the files via ssh or ftp to a backup server. I also need to do the same thing to get the files to amazon S3. Can you help me out? I have this so far
rsync -e ssh -avz --recursive user@remoteServer:/remotepath /usr/www/users/
I get prompted for the password and then it gives me a whole bunch of access denied errors.