Skip to Content

Use Dropbox to backup a few folders every day

i have always been a security / backup freak

There's a nice little tutorial on Justin Schwalbe's blog for using a simple script to backup a few folders to a Dropbox backup folder every day. Why would you do this? Well, let's say you aren't always able to connect to a hard drive for Time Machine, but you have a couple of document folders you want to make sure are backed up off site every day. If you are traveling but have internet access, this script plus Dropbox will save your bacon -- or your files, at least.

Note that you should be comfortable with bash scripting to successfully implement this backup solution. You can, of course, also keep folders in Dropbox itself, but Justin's scripted method allows incremental backups that keep versions from a few days back, so (sort of like Time Machine), if you find yourself needing a file from two days ago versus five minutes ago, you'll have that in a dedicated folder based on the date.

If you're not comfortable with Terminal or scripting, consider carrying a USB drive with you and relying upon Time Machine, Apple's built-in backup solution.

Update: As noted by Justin in the comments, this creates encrypted disk images. Also, Dropbox does have versioning that goes back 30 days, available on the Dropbox site.

photo by Flickr user jm3

Categories

Mac

There's a nice little tutorial on Justin Schwalbe's blog for using a simple script to backup a few folders to a Dropbox backup folder...
 

Add a Comment

*0 / 3000 Character Maximum Comment Moderation Enabled. Your comment will appear after it is cleared by an editor.

7 Comments

Filter by:
macserv

Ahahah, freaking FOLDERBOLT. Man, that takes me back.

November 24 2010 at 2:07 AM Report abuse rate up rate down Reply
Amy

Looks great! Will definitely use this!

November 23 2010 at 8:13 PM Report abuse rate up rate down Reply
MagerValp

Nice idea, but please note that it doesn't handle folders with spaces in them, and the group will be set to wheel as he uses a folder in /tmp instead of one created with mktemp.

November 23 2010 at 1:22 PM Report abuse rate up rate down Reply
Justin

Neat! Thanks :D

November 23 2010 at 1:10 PM Report abuse rate up rate down Reply
greg.schmeer

dropbox already does versioning. Clicking on a file in the web site and you can access them. Only keeps the last 30 days but that's enough for me. Also not sure why you wouldn't just keep it in the dropbox as you suggested since dropbox is updated anytime you have internet access.

November 23 2010 at 1:10 PM Report abuse rate up rate down Reply
2 replies to greg.schmeer's comment
Justin

@greggers I thought about that too, but I wrote this because it's nice to have a disk image to pull files off of -- dropbox's website is sorta klunky for that in my opinion. Plus these images are encrypted, for what it's worth. (Though I admit not done with the highest of encryptions methods.)

November 23 2010 at 1:14 PM Report abuse rate up rate down Reply
greg.schmeer

Still cool idea. Didn't mean to bash the effort.

November 23 2010 at 4:19 PM Report abuse rate up rate down Reply
Buy an ad here

Tweets

© 2012 AOL Inc. All Rights Reserved.