2 ms·
Funny, I just used this to help recover a harddrive of a family member that crashed. The directory structure was gone, but the files were still (mostly) readabl
by jacquesm 3y ago
Funny, I just used this to help recover a harddrive of a family member that crashed. The directory structure was gone, but the files were still (mostly) readable so using a combination of ddrescue (to pull the remainder of the drive into a partition of another drive), photorec (to recover all of the files that were still readable) and fdupes (to remove all of the duplicates as a result of multiple back-ups on that some drive) I managed to get pretty much all of the data off the drive. 5500 files worth or so, not a huge number but some of them were precious and the only reason this drive was accessed was because it was the backup when another drive had failed entirely. Photorec was a bit weird in that it insisted having the data on the partition of an actual drive, it couldn't work straight off an image. No idea why that limitation is there, it would seem pretty straightforward to allow it to work on an image file instead.
Lots of lessons to be learned here, 1 backup really isn't good enough (of course you already knew that) and organizing 5500 files after you've lost the names is still quite a bit of work. But better to have files without names than no files at all. They'll be busy for a while re-labeling all of them, but that is fortunately not my work to do.
- jbverschoor 3y agoDdrescue is awesome
- jacquesm 3y agoWhat impresses me about it is that it just 'fire and forget'. It takes a while to run (a few weeks, in my case) but it will do its level best to get your data off the drive and to see the amount of unrecoverable space slink steadily over the days was really neat. In the end I think it recovered 99.9% or so of the drive but the directory structure was still damaged so much that whole sections of the tree were gone. But without ddrescue only a few 10's of files were visible. If the original owner of the drive had not tried to recover the data themselves first I'm fairly sure that I would have been able to retrieve even more of it because connecting the crashed drive to a windows laptop probably caused it to try to write to the crashed drive (there is no prompt to mount a drive RO before mounting it on windows).