Create a blog backup with IFTTT and Dropbox

My colleague TJ Luoma inspried this post in the TUAW offices earlier this week. I thought I’d share a version of his idea with all of you.

Anyone who’s lost blog posts knows that particular pain. Database backups are important and shouldn’t be overlooked. But simpler plans can also be very helpful when worse comes to worst. Here’s a simple IFTTT recipe to create a plain text backup of every new post in Dropbox. It’s bare-bones for sure but still useful and could save you a lot of hassle.

The idea is to have IFTTT monitor your blog for  new posts. When it finds one, it makes a plain text copy in a Dropbox folder of your choosing, including the path to any images. Let’s set it up.

Set up

Before you begin, log into IFTTT and enable the Feed channel and Dropbox channel. Also, make a destination folder in your Dropbox account. Once that’s done, follow these steps:

  1. Create A Recipe.
  2. The “If this then that” prompt appears. Click “This.”
  3. A grid of trigger channel appears. This is the condition that must exist to prompt the next step. Click Feed.
  4. Two options appear. Click New Feed Item. This will cause the next step to fire every time you publish a new post.
  5. Paste your blog’s RSS address into the field. Click Create Trigger.
  6.  The “If this then that” prompt reappears with our feed action in place of “this.” Click “that.”
  7. The Action menu appears. Click Dropbox.
  8. Click Append to a Text File. This will add the new post to a single file. Once that file reaches 2 MB, a new one will be created.
  9. Enter the path to your destination folder and the name of the plain text document in there (a new one will be created if you leave that field blank).
  10. Click Create Action. Give your recipe a name and click Create Recipe.

Why Plain Text?

That’s it! Now, whenever you create a new blog post, it will be saved as a plain text file in your Dropbox account. Why plain text? David Sparks answers that question more eloquently than I could:

“There’s something to be said for the use of plain text files. Text is simple. Text files are easy to read on any computer running any operating system and don’t require any proprietary word processor to interpret. Even more important, text files can be read by humans. Keeping your writings in text makes them digitally immortal.

Moreover, text is internet friendly. The files are small and can jump among connected devices with poor connections like hopped up Disney faeries. It is really easy to work with your text files on any device from anywhere.”

If you ever find yourself recovering lost posts, you’ll be glad they’re in a simple format that you can work with from almost any machine. Have fun with this recipe and let me know if/how you use/modify it.