How to Use Dropbox and Automator For Automatic Backup of Multiple Folders

by Matt on October 22, 2009

Dropbox is a wonderful little program. What it does is put a folder on your computer, and anything you place inside of that folder will be backed up to the internet. I shouldn’t need to convince you that keeping an off-computer backup of all your project files is a good idea.

Unfortunately, you have to manually put anything you want backed up in your Dropbox folder, and that’s lame, especially if you have multiple folders that you want to be constantly backed up. The good news? It’s 2009, robots are about to control the world, and we can automate it!

This tutorial will show you how to use Dropbox and Automator to do automatic backups of multiple folders.

Get Dropbox

Obviously, if you haven’t already, you’re going to need to get Dropbox and install it.

Create Action

Now you’ll have to create an Automator action so your syncing will be automated.

  1. Load up Automator (It should be in your Applications folder)and create a Custom Workflowcustomworkflow
  2. In the Files & Folders tab, find “Get Specified Finder Items” and drag it to your workflow. Choose the first folder you’d like sync’d. getspecifiedfinderitems
  3. Now drag “Copy Finder Items” to your workflow. copyfinderitems
  4. Choose your Dropbox folder as the destination, and click “Replacing existing files” if you so desire.
  5. Keep doing this for all of the folders you want to keep sync’d with Dropbox. repeat
  6. Save your Workflow.
  7. Right click on the action you’ve saved, and go to “Open With”. Navigate to System/Library/Core Services and choose to “Always Open With” Automator Runner. This makes it so when your action is opened it automatically runs.

Sync

Now, already we’ve made syncing multiple folders with Dropbox easier, as you can just run the action you’ve saved whenever you want to backup your things, and it will copy everything from your selected Folders to the Dropbox folder.

But wouldn’t it be nice if your computer would do this automatically at a specified time every day? I think so. We can do th

editevent

at with iCal Alarms.

  1. Load up iCal
  2. Go to File > New Event, and call it what you’d like.
  3. Double click on your Event and go to Edit
  4. Choose the time you’d like it done
  5. Repeat: Every day
  6. For Alarm, choose “Open File” and then find your Dropbox action

That’s it!

I hope you enjoyed the tutorial.

Note:  There’s also a free version of Dropbox available but it’s limited to 2GB.


Thesis Theme for WordPress:  Options Galore and a Helpful Support Community

Stay Updated:


If you liked this post, you will definitely enjoy our others. Subscribe to the feed via RSS or Email to get instantly updated for those awesome posts soon to come. Also, I'm on Twitter.

  • Some Guy
    Thank you for this tip. I followed the directions exactly, in fact when I click on the workflow, it backs up. But it won't work in iCal. I get an error message saying the alarm failed. Am I missing something?
  • *Just* what I was looking for. Love it! Thanks so much!
  • johnsonjia
    What a great idea!
  • Dropbox is truly a great service. I just hope it will stay so for a long time so we always will have a safe backup.
  • Excellent article. You may also want to append it or create an alternate version for those who would like to use their own FTP space instead of paying for DropBox: you can do the exact same backup via FTP by using this little Automator extension:

    http://editkid.com/upload_to_ftp/
  • Excellent tip, David.
blog comments powered by Disqus

Previous post: Why The Internet Should Be Renamed Google

Next post: Twitter Link Roundup (10.18 – 10.24)

  • Theme Thesis
    Find skins and customizations for the great Thesis theme at Theme Thesis.
  • Need Hosting?
    This site is proudly hosted by Host Gator. They provide fast, affordable hosting and great support.