Remix.run Logo
Recovering files from beyond the grave using PhotoRec(lost-number.bearblog.dev)
43 points by speckx 6 hours ago | 6 comments
nickcw 4 hours ago | parent | next [-]

I love photorec and dd rescue. I have recovered many many disks and memory cards with it.

I even recovered a card that had been off to professional recovery and deemed unrecoverable. I think half the memory chips in the card were fried so I used DD rescue to recover what data I could and then photorec to sift the wreckage. The owner was delighted to receive some of the photos.

If you ever have to do this, use DD rescue to image the source media as a first step. Sometimes you don't get a second read!

xmeadow 3 hours ago | parent [-]

You say it. A few years ago my homeserver behalved odd and i needed reboots. I took out the SSD, used dd-rescue and after that The SSD did not even show up as storage any more. Yhea. I also have backups since then. :)

gffrd 4 hours ago | parent | prev | next [-]

PhotoRec saved my ass just earlier this week, after an accidental wipe of a CompactFlash card with client photos on it.

As another commenter noted, create an exact dupe/image of the volume as the very first thing you do.

Also: if it doesn't successfully retrieve files on the first go, try another configuration. I think it took me 3 attempts to get it right.

A fun perk, also noted in the article: you may get back some surprises along with the files you expect - older files revealed in the sediment!

EvanAnderson an hour ago | parent | prev | next [-]

I hit every thrift store storage device with photorec. I also use it on storage devices I'm getting rid of, just to be sure.

el_benhameen 2 hours ago | parent | prev | next [-]

My folks gave me a big box of hard drives from various family computers over the years. Learning to use ddrescue and photorec to get data off of them was a ton of fun. Really cool tools, and not wildly unfriendly to someone who’d never used them before. I even managed to recover the drive that crashed a few days before the start of my junior year of high school, leaving me to re-write all of my summer homework in a panic. A little late on that one.

emmelaich 4 hours ago | parent | prev [-]

Photorec is great and has improved over the years; it did way better in 2010s than it had done in the early 2000s. (I have a dd image of a corrupt disk of baby photos.)

This reminds me to try it again.