Say that I have an optical disc mounted as “my_disc” (by default in the “/media” folder) and need to recover a file called “my_video.mp4” inside it. The basic usage of “ddrescue” is as follows.ĭdrescue input-file-path output-file-path logfileīut to clear few things, let me give you an example. You can install “Ddrescue” in Ubuntu 12.04 Precise Pangolin, 11.10 Oneiric Ocelot, 11.04, 10.10 and 10.04 (already has a package for 12.10 too) by using the below command in your Terminal window. You can change the buffer-size, direct device access, enable/disable data “filling” (unless you enable this feature, it won’t fill bad sectors with “zero bytes” and only marks them as bad-sectors), maximum amount of read-attempts and few other options which are intended towards advanced users. As you can see from the above screenshot, it outputs some info while recovering such as: rescued data (in “Kilobytes”), amount of errors, size of the total errors, current and average read speed etc. “Resuming” is supported: if you cancel the data recovery process at one point, then the next time you try to recover the same file, “Ddrescue” will resume from that last position!, saving both time and hassle (a lot of it :D). Copy the whole partition/ disc into a disc image or, you can recover individual files as well. Attempts to read the discs, even if they’re not mountable. Supports both fixed disks (such as Hard disk drives and partitions) and optical discs. Still, I was able to watch it, where it was impossible before (other than manually skipping those frames in “mplayer”).īut, if your media is not heavily damaged, then who knows, “Ddrescue” might even be able to recover data completely. Did it recover it? Not completely (it failed to read few sectors and skipped few Megabytes as a result), and the video even lacked few minutes in the middle. Now, I have this somewhat, troublesome video disk with few bad sectors and decided to put it to the test using “Ddrescue”, in Ubuntu :). An output that “ddrescue” gives you when running … But, it’s impossible with the file copy tool that comes with your OS, as it just stops copying the file as soon as a read-error is detected. Though you will have few glitches while playing those sectors, but assuming the damage is small, then it should be watchable. This however, is not always useful while recovering highly sensitive data (such as a software utility for instance), as in those cases, there shouldn’t be any corrupted data whatsoever.īut, for other file types such as videos for example, lacking few sectors (data) wouldn’t hurt at all (most of the time). But one advantages of using such a tool is that, it lets you “skip” the sectors with read-errors and copy the rest of the file. If your default file copy tool gives you read-errors and cannot copy files, then “ Ddrescue” might be able to help you out.īut please be aware that, depending on the size of the damage (say that you have a disc with lots of scratches etc), it might or might not be able to fully recover the data. “Ddrescue” is command-line based (easy to use) data recover tool for the GNU/Linux platform, that lets you recover data from devices such optical discs Hard disk drives.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |