Edit: Somehow the sync isn’t starting, so I’ll need to figure out what the trouble is and update this post. Any ideas?
Edit 2: It would seem using rsync to back up is no longer covered under the terms of service for BlueHost users. I actually haven’t been doing my backups this way for some time, and would highly recommend using a service like Dropbox instead (especially since it has a nice web interface and syncs between multiple computers). I’ll leave this post up for users of other hosting providers.
I’d call myself more of a tinker-er than a programmer, but I thought I’d open a new chapter in my blogging repertoire: sharing tech solutions I’ve come up with. I’m a dissertator, which means I need frequent off-site backups, and a BlueHost user, which means I have a convenient place to upload to.
This post taught me everything I needed to know to get rsync working with Bluehost (the instructions are for Dreamhost, but you get the idea). Be sure to check out the part for running a backup without logging in. Up until recently, I’ve used the terminal to periodically run a backup–yet there’s always room for improvement.
I dig Growl, and thought it would be great to schedule backups for every-other hour, and to have notification of when (or if) it completed successfully. I never quite worked out the completing successfully part, but the attached AppleScript is a start. It checks for a network connection (be sure to enter the IP address of your host), and sends a growl when the backup starts (just be sure to wait a bit for the backup to complete). Here is some advice on scheduling via iCal.
I realize this (admittedly unedited) post didn’t quite live up to my reputation as a decent technical writer. I’d be happy to answer questions or take suggestions in comments.
rsync
(AppleScript download)