Questions tagged [ddrescue]

ddrescue is a data recovery tool that copies data from one file or block device to another, trying to rescue the good parts first in case of read errors.

GNU ddrescue is a data recovery tool. It copies data from one file or block device (hard disk, CD-ROM, USB stick, etc) to another, trying to rescue the good parts first in case of read errors.

This tool is very popular among forensics experts because it allows the user to easily (and repeatedly) save the good parts from a damaged disk or device with certain ease.

ddrescue cannot be used as a filter i.e. in a pipe (while dd can). This is because in general it needs to jump back and forth inside the files (or block devices) to do its job.

More information and sample usage can be found in the GNU ddrescue manual.

Note that one may confuse GNU ddrescue with another tool of similar name: dd_rescue. To learn the difference between the two refer to this Ask Ubuntu answer.

162 questions
2
votes
1 answer

Possible to recover using a partial ddrescue image?

I'm using GNU ddrescue to clone a failing 500GB disk and the image is currently sitting at 470GB. The problem is that read speed has decreased to only 8-32 KB/s so that remaining 30GB will take forever. The disk itself only ever had ~450GB worth of…
1
vote
1 answer

How the retrim option works in ddrescue?

I would like to have some details about how the --retrim option works in gnu ddrescue. Does it behave the same way as the regular trimming? AFAIK, in the first trimming phase, the utility goes to the first sector and to the last sector and read…
Othman
  • 155
  • 2
  • 6
1
vote
1 answer

ddrescue goes very slow on encountering errors

I am using the ddrescue for the very first time.May be an expert with this can help me a little. I have a 320 gb sata harddisk with 334 bad sectors(including 114 on the surface itself) & many thousands read errors. So it is about to fail anytime…
nsingla
  • 11
1
vote
2 answers

Can ddrescue skip errors faster?

I try to rescue some data from my drive (with an NTFS partition), which out of sudden stopped working. Under Windows it doesn't mount properly into the system, causing a lot of hang-ups. I managed to mount it under tinycore Linux and was able to…
Danny Lo
  • 202
1
vote
1 answer

Recovery from ddrescue image and preserve original folder structure?

I'm running Ubuntu and have access to Windows 10. I have an image of a disk that I created using GNU ddrescue. I tried using foremost on the image and foremost seems to create a separate folder named after each different file type that it encounters…
0
votes
1 answer

ddrescue overflow

I am trying to recover a partition on my broken hard disk with this command: ddrescue --r3 --force /dev/sda2 /dev/sdb1 logfile /dev/sda2 is 207 GB and contains the data I need /dev/sdb1 is a 270 GB USB hard disk Now when doing the math, ddrescue…
0
votes
1 answer

Can I use a partition as ddrescue destination?

I have a large disk (8TB) and I want to try and rescue a smaller disk (1TB). Is it possible to partition the larger disk and use only that partition for the rescue? Or ddrescue will format the whole disk regardless?
AMasc
  • 13
0
votes
1 answer

ddrescue: error when resuming rescue

After running ddrescue ddrescue /dev/sdb1 /media/lukas/Elements/sdb.dd /home/lukas/sdb.log to restore a currupted 4TB disk to a file for over a week the computer has been plugged out by accident. `` If I read the documentation correctly resuming the…
Lukas
  • 1,187
0
votes
0 answers

Recovering files from SSD using DDRescue

I'm not sure if the SSD with lost partitions and errors can be recovered as is, it is sdc that I need to recover files from but it has no partition id like sdb which has sdb1 ntfs. I use this command and it is executing but I'm not sure it should be…
coder
  • 101
0
votes
1 answer

ddrescue and scratched DVD: Is it possible to change optical drive?

I am currently ripping/rescuing an old scratched DVD with ddrescue using a USB BluRay-reader, and this DVD has ~1GB of bad-sector which I still want to try and save using disc-cleaning tools and patience. Since I started the rescuing process a few…
Odecif
  • 43
0
votes
1 answer

Is it safe to re-run `ddrescue` if previous run was device-to-device using `-f`?

I initiated the following: ddrescue -f -r3 /dev/sdb /dev/sdc mapfile After 4 days I got a "Finished". The mapfile contains: # Mapfile. Created by GNU ddrescue version 1.26 # Command line: ddrescue -f -r3 /dev/sdb /dev/sdc mapfile # Start time: …
0
votes
0 answers

ddrescue slow when it copy the error blocks

I use the ddrescue to recover the data from the old hard disk, but I found it running very slow when it copy the failed blocks , can advise any options that can use on ddrescue to skip the error blocks or failed blocks , thanks !
Ben
  • 1
0
votes
2 answers

Can't mount an image created by ddrescue

I have a 500GB disk that I'm trying to recover using GNU ddrescue. This is the fdisk for the 500GB disk: Disk /dev/sdc: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = sectors of 1 * 512 =…
0
votes
1 answer

How to edit ddrescue log file to resume at a certain spot?

I'm trying to image a 500GB disk using GNU ddrescue and using the log file. I got to 420GB and then I stopped it with ctrl+c. I ran the command again after some time and it started all over again, despite there being a log file. The old log file…
0
votes
0 answers

ddrescue won't resume even with log file

I did a partial gddrescue run with the log file. It's from one external USB disk to another. sudo ddrescue /dev/sda /media/myname/volume5/backup.dmg /media/myname/volume5/logfile.log I stopped it midway, turned off my computer, unplugged the…