I went through the great tutorial for the automatic backups ( http://wiki.dreamhost.com/index.php/Automatic_Backup) and got the domain and database backups working great.
But once I get to Automatic FTP downloading of archive, I’m stuck…
I’m on a Mac (OS 10.4.7), and need to know how I should script the auto downloads.
I’m setup with ssh for passwordless login, so I’d like to use sftp or rsync, but have no ideal how I need to write the script. I’d searched the net, tried different things, but have given up at this point.
I was able to get rsync to download the files from dreamhost, but couldn’t figure out how to get it to delete the files off the dreamhost server after they were downloaded.
A shell script that I could then call from a local cron job would be fine for me.