Rescue data from failing disks
medium risk
GNU ddrescue copies data from failing drives while keeping a map of bad areas.
| Flag | Meaning |
|---|---|
-n | Skip the scraping phase |
-r | Retry count |
-d | Direct disc access |
ddrescue -n /dev/sda disk.img disk.mapFirst pass · explain & risk-check →ddrescue -d -r3 /dev/sda disk.img disk.mapRetry bad sectors · explain & risk-check →Reference text is hand-written and may be incomplete — check man ddrescue for your version. Test destructive commands on a non-production system first.