redfishingboat

meld into music, the music of drums

redfishingboat random header image

How I Backup My Photos Using My Macbook and External Drive

October 8th, 2009 · 1 Comment

drob-e (Wall-e + drobo mashup) (by humedini)
Image by humedini
My backup procedures are not perfect, but they work for me. They can be improved, so if you have comments please leave them. I hope that someone finds this useful. This is really not as complicated as it seems. I’ve just tried to be as explicit as I can be.


I use a 2006 Macbook Pro. My external drive is a Drobo HD enclosure with four 1TB drives. I use Lightroom and Photoshop.

First let’s recap how Lightroom works: Lightroom never edits your files! If you make a change to a photo in Lightroom, all it does is record that step in a single Catalog file that handles all the photos in that Catalog. The original photo files remain unchanged. So to backup photos from Lightroom, you just need to copy the original files, plus the one Catalog file which records all your edits. If you ever lose the Catalog file, you still have original unedited source files.

I have three main sources for image files, but all of them end up in Lightroom: 1) Digital camera, 2) scanned negatives, and other 3) miscellaneous projects like files downloaded off the Web.

1) At the end of a digital shoot, I import all the files off my memory card right into Lightroom.

2) After I develop a roll of negatives, I scan them with Scangear and save the scanned files as TIFFs. I use exiftool to tag them with EXIF data. Then I import those TIFFs into Lightroom.  Note that Lightroom reads the EXIF from the TIFFs as keywords, so I don’t need to retag files when I import them. (I have Lightroom copy the files into the same folders as my digital files. This means I delete the scanned TIFF files from where Scangear puts them periodically)

3) Miscellaneous files, even if I’m just working on them in Photoshop, I still import them into Lightroom first so that it’s copied into the catalog.

So from there everything is in Lightroom, which keeps all the files in handy folders organized by date. I tag anything I import with keywords to help make it easy to find.

I keep the current Lightroom Catalog and about a months worth of working files stored right on my laptop.   I do my editing from there to keep things snappy.  Every month or so I send everything older than a month to a backup external drive; That’s my Drobo.

That means I need to backup two things: The Lightroom catalog file, as well as all the original image files.  I do this with a powerful command line utility called rsync that is already part of OSX’s utilities.

Again, I’ve set Lightroom to organize all my files by Date. This is extremely handy.  I plug in my external drive. Then I open up Terminal and navigate to where I’ve told Lightroom to keep all my original files. Easily for me  that’s Pictures/2009/ and then Lightroom creates folders for each day.  rsync will navigate down into all the subfolders for me.  So this is what I type into Terminal:

rsync -avru Pictures/2009/ /Volumes/Main/Lightroom/main_catalog/2009

What does this line do?

rsync is the command

-avru is a list of flags.
•    ‘a’ means it’s in archive mode.
•    ‘v’ means it will tell me what its doing (verbose)
•    ‘r’ means it will go down into subfolders (recurse)
•    ‘u’ means it will only update with new files

Pictures/2009/ = where my photos are now.

/Volumes/Main/Lightroom/main_catalog/2009 is the location of the backup folder on my external drive. In this case it’s named “Main”

rsync compares the the folder on my external drive and the folder on my Macbook and sends any files that aren’t backed up to the external.  I could have rsync delete the local files once they are copied, but I’m paranoid. So after rsync is done, I take a peek at the external; drive in Finder. Once I confirm the files are on the backup, I delete them from my Macbook.

I also copy the Catalog file itself to the External drive.  I continue working from that same Catalog file after the backup. If I need to get to a photo that’s on the external drive, I connect the drive. Then I have Lightroom re-link that file to the current working Catalog.  (Here is a video on how to do that) Working on that external file is somewhat slower than working on a local file, but I don’t have to go back all that often.  Note: I can even open an old file in Photoshop, and Lightroom creates the PSD right on the external. So, that is slower too, but it has the advantage of being already backed up on the external.

Eventually, the local Catalog file will get too big on my local Macbook drive. Then I just close out that Catalog and start a new one. As of right now, I can basically keep one Catalog per calendar year.  I could develop a more sophisticated Catalog flow at some point, but for now this works for me.
So to recap my basic steps:

1.    Keep the current month’s files and catalog on my Macbook.
2.    Use rsync to send original files older than a month to an external drive.
3.    Keep the working Catalog on the Macbook, but copy it periodically.
4.    Access archived files through my working local Lightroom catalog.

If you have any followups or questions, lemme know and I will do my best to help you.

Tags: ···

1 response so far ↓

  • 1 Federico // Nov 23, 2009 at 3:20 pm

    Hey there, I also use rsync to backup, with some differences though.
    I pay for a webhosting which has unlimited disk space. So instead of using a hard drive, i upload them to a directory in the server, with no access to the http://www. It takes time (and money) of course, but as I use the server for other things as well, It doesn’t matter to me.

    I keep both copies (local and server) mirrored. So If i delete something locally, it gets erased at the server as well.

    I do that by calling this line:

    rsync -azv –delete local_folder remote_folder

    a: archive, z: zip before transmit, v:verbose, –delete to delete the remote files if they were deleted locally.

    I’m not familiar with Lightroom. I’ve used it a couple of times, but haven’t got any deep on how the images are stored. I use iPhoto and Aperture, and sometimes I have a hard time dealing with the files being transfered because of the file owners and privileges.
    Do you have some sort of information regarding Lightroom for that matter?

    Thanks.

Leave a Comment