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.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!