« Music of 2011 | Main | AMI Small Array Movie »

Recover data with ddrescue

Been handed a dead hard drive and want to try and recover some of the data? That's the problem I had the other day. So I turned to some good old linux tools to try and recover the data. One of my favourite recovery tools is ddrescue. It works really well and given enough time can do a pretty solid job of data recovery - of course a better solution is proper backups but that's not always the way people go. Anyway, this is as much a note for myself but here is how to do some basic recovery using it:

sudo ddrescue -r 3 /dev/sde2 imaging loging

This images /dev/sed2 and produces the image file "imaging" with the log "logging".

To try and extract files you could use something like foremost

sudo foremost -w -i imaging -o /recovery/foremost

To make an audit of the files that can be recovered, recovering them with:

sudo foremost -i imaging -o /recovery/foremost2

TrackBack

TrackBack URL for this entry:
http://krioma.net/cgi-bin/MT-3.38/mt-tb.cgi/591

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About

This page contains a single entry from the blog posted on December 24, 2011 12:13 PM.

The previous post in this blog was Music of 2011.

The next post in this blog is AMI Small Array Movie.

Many more can be found on the main index page or by looking through the archives.

Get Firefox! Valid XHTML 1.0! Valid CSS! RSS Feed BlogUniverse - listed Powered by Apache Creative Commons License ringsofsaturnrock's Most Interesting Photos on Flickriver

Powered by
Movable Type 3.38