Recovering Lost Photos with Digital Forensics: How PhotoRec Saved My Race Day Photography
FORENSICS
3/3/20252 min read
Key takeaways from this experience:
Always Ensure Redundancy: Using old or single SD cards is risky. Despite my camera supporting dual SD cards, I neglected to set up redundant file writing. Don't repeat my oversight.
Understand Your Recovery Tools: PhotoRec isn't limited to digital forensics professionals—it’s an essential tool for any photographer.
What's next? To ensure this doesn't happen again, I'm planning to set up a NAS solution and refine my data handling and archival methods. Stay tuned for future posts about creating robust photo storage solutions.
I recently faced a digital photographer's worst-case scenario. After spending the day capturing action shots at the Firestone St. Pete Grand Prix, my 10-year-old SD card malfunctioned during a file import into Lightroom. An error popped up, and suddenly the folder appeared empty. I thought my entire day's work was lost.
With my cybersecurity background, I immediately began troubleshooting:
Initial Checks: Reinserting the SD card, checking for hidden files, and running Disk Utility yielded no results.
Advanced Recovery: Enter PhotoRec, a digital forensics tool commonly used in cybersecurity contexts but equally effective for photographers, available here.
PhotoRec, part of the TestDisk toolkit, is known for recovering data from compromised drives or corrupted file systems. With nothing left to lose, I downloaded the latest stable build and started the command-line tool.
After a thorough scan, PhotoRec successfully recovered 1,372 files, including all of my Sony RAW images which it saved as ".sr2" image files. What initially seemed like a total loss turned into an invaluable lesson in data recovery.






Adobe Lightroom Import Screen Post-Recovery
PhotoRec Recovery Software