The Quick Way to Reclaim Disk Space and Backup Your Lightroom Configuration
Update: A newer version of this plugin is now available. |
It is vital that every Adobe Photoshop Lightroom user backup their catalog and configuration files. If you don’t and your catalog gets corrupted, the results of all the time and effort you invested retouching your photos disappears. While you can use the “Automatically write changes into XMP” setting to work around the catalog corruption issue you will suffer a performance penalty for enabling it. Most find its easier to use Lightroom’s built in capability to regularly backup your catalog.
One obvious downside of backing up is the increased consumption of disk. For example my backups for a ~10000 photo catalog are around 220Mb each. Multiply that by 52 backups a year and 11Gb of my laptop’s limited disk capacity is spent on something I’ll hopefully never need to use. Compressing each backup is an effective way to combat this, and in my experience catalogs zip to approximately 10% of their original size, but it is yet another task you need to undertake to keep disk space under control.
I’ve developed a backup plugin to help speed up and simplify backing up and compressing Lightroom files. It adds two new menu items to the File menu’s Plug-in Extras sub-menu.
- Customisable Configuration Backups – Allows you to customise and manually trigger the backup and compression processes
- 1-Click Configuration Backup – Immediately backs up the Lightroom Preferences File and Catalog backups using your previously configured settings, and optionally displays the results of the backup process.
The Customisable Configuration Backups menu item calls up the dialog shown to the left. It allows you to specify where preference file backups should be stored, displays summary details of backups currently found at that location, and to request a new backup be created.
The catalog compression section assumes you are using Lightroom’s inbuilt capability to create catalog backups. You supply the details of where Lightroom stores those backups, choose a location for the compressed version of those backups, and then request the backups be compressed. All backups will be compressed into separate zip files named after the catalog and date/time of the backup. You can also choose to move, rather than copy, the backups into the zip files once you are comfortable everything is working properly.
The 1-Click Configuration Backup menu item automatically backs up the preferences file and compresses all catalog backups using the preferences last used in the Customisable Configuration Backups dialog. It optionally displays the results using a cutdown version of the main dialog. If you wish to enable or disable the displaying of the results dialog use the “Show Results After 1-Click Backup” option at the bottom of either the Customisable or 1-Click dialogs.
I hope you find this plugin useful and please feel free to share your experiences or suggestions in the comments section below. A big thank you goes out to Sean over at the Lightroom Blog for testing the plugin to ensure it was Mac compatible.
Related Posts:
In: Howto, Project, Software · Tagged with: backup, code, configuration, lightroom, lr2, plugin
I’m getting the following error when I try to create a preferences backup or when I try to compress a catalog backup:
Error: Failed to create backup (return = 8 )
@Sean, What platform are you using? If it is a Mac, when you open a terminal session and try to run the command zip what happens?
Windows Vista 64-bit. I’ve tried relaunching the plugin, as well as deleted / reinstalled it. Same error.
@Sean, Aah… That will do it. The plugin has a 32-bit executable hidden under the covers. I’ll track down a 64-bit compatible version I can use and then re-release. Thanks for the pointer!
Cool, thanks for following up!
If you have already downloaded the zip (before 7AM GMT or 4PM AEST, on 29 May) then please redownload and reinstall. A file was missing from the released zip, triggering the issue Sean reported above.
Apologies for the inconvenience.
Works perfectly now! It compressed my 900 MB backup into 75 MB. And the preferences backup works great too.
Now what about allowing it to backup the entire Lightroom folder (instead of just the Lightroom\Preferences folder) including all presets, scripts, templates, etc. It wouldn’t add that much size to the backup files but it would be hugely useful!
Glad to hear it!
I’ll look into extending the preferences backup to contain the other settings as well. Preferences file was my priority because I’ve had occasional Lightroom triggered “blue screen of death”s killing my preferences file. Makes sense to pickup the rest at the same time though.
That would be great. I’d never really looked into the actual preferences file itself. To me backing up my “config” includes all that other stuff too. Anyway, I appreciate what you’ve done so far and I’m look forward to more!
@Sean, the update has now been published on the config backup plugin page. There have been no significant changes since the version you tested for me. Thanks for your assistance with this!
I saw your post, but thanks for thinking of me anyway! I’m happy to help of course…
Cheers, most useful. Have a coffee/beer/banana on me.
@Nic, Glad you find it useful and thanks! The coffee tastes great and am saving the banana for later.