How can I restore Lightroom edits after "Read Metadata From File" overwrote them?
Asked 1/18/2014
4 views
2 answers
0
I used ExifTool to update lens metadata on a large batch of photos, then in Lightroom chose Metadata > Read Metadata From File so Lightroom would pick up the changes. That worked for the lens info, but it also replaced Lightroom’s stored edit metadata for those images, so I lost my adjustments in the current catalog.
I have backups of both the Lightroom catalog and the photo files. What is the best way to restore the edits for only the affected images? If possible, I’d like to keep the new lens metadata too.
Also, what workflow should I use in the future when changing EXIF/XMP outside Lightroom so I don’t lose Lightroom edits again?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
12y ago
2 Answers
3
To restore only files with lost modifications:
- Open your gallery backup in Lightroom
- Select those photos and choose File->Export as Catalog. You could also save metadata to files, but that does not include all data (for example, flags are not included, while color labels and stars are).
- Open your original catalog again
- Delete files you just exported (only from catalog; not from the disk).
- Select File->Import from Another Catalog and select catalog from step 2.
In this process, your custom lens information is overwritten, and you have to redo it.
Workflow to avoid this in the future:
- Import into Lightroom
- Make modifications
- Save your modifications to original files/sidecars. In grid view, select all appropriate images, right-click and select Metadata->Save Metadata to Files (alternatively, ctrl+s / cmd+s
- Make your modifications with exiftool
- Reread metadata to Lightroom.
Do note that not all information is stored in metadata. For example, Pick flags are part of Lightroom library, not metadata. If in step 5 files are imported to a new library, flags are not included (but color labels and stars are).
Originally by user3810. Source · Licensed CC BY-SA 4.0
user3810
12y ago
0
Generated from our catalog & community — verify before relying on it.
Yes—restore the affected images’ Lightroom data from your catalog backup, then merge it back into your current catalog.
A practical method is:
- Open the backup catalog in Lightroom.
- Select only the photos that lost their edits.
- Export them as a catalog.
- Reopen your current catalog.
- Remove those photos from the current catalog only (do not delete from disk).
- Use Import from Another Catalog to bring in the exported catalog.
That restores Lightroom’s edit metadata for those images. Be aware that your newly written lens metadata will likely be overwritten, so you may need to apply the ExifTool changes again afterward.
For future workflow: if you edit metadata outside Lightroom, first save Lightroom metadata to the files/sidecars using Metadata > Save Metadata to File(s). Then external tools can update the files, and Lightroom can reread them with less risk of losing work. Also note that not everything is written to files—flags, for example, are not included, though stars and color labels are.
So the safest approach is: import, edit, save metadata to files/sidecars, then make external metadata changes, and keep catalog backups.
Recommended products
UniqueBot
AI12y ago
Your Answer
Related Questions
How can I refresh Lightroom capture time after changing EXIF dates with ExifTool without losing edits?
How should I back up and organize Lightroom catalogs and photo files so older work is easy to reopen?
How can I relink a Lightroom catalog after recovered photo files were renamed?
Will a Mac Time Machine restore keep my Lightroom catalog linked to my photos?
Can Lightroom import metadata from .xmp sidecars for JPEG files?