How to Back Up Your WordPress Website, Automagically!

I maintain several WordPress-based websites, all of which are, well, important to me, including this one, and it would seriously stink if something happened to any of them. Jason Tarasi posted a great how-to at ProBlogger.net with easy instructions for backing up a WordPress blog using the uber-simple WP-DB-Backup plug-in. I installed the plug-in, and my WordPress installations started emailing me daily copies of their databases. Awesome.

But what to do with these backup copies? Well, I have a Dropbox account (that’s my referral link) that I can use for safekeeping. Dropbox is a great app that lets you synch files and folders on your hard drive with an online file-sharing service, even keeping files synched across multiple computers if you want. You can share files and folders with others, so, for example, your wife and you could use it to work on your Christmas letter. Each time one of you made a change, it would be synched across all computers. It’s great for larger documents or things that are more complicated than Google Docs can handle.

So I have a place to store my WordPress backups, but I don’t really want to manually save the new backups every time they arrive. How could I make this process automatic and invisible?

After several failed attempts, here’s the process I created. Continue reading