ddrescue

GNU data recovery tool for rescuing data from damaged drives

brewmacoslinux
Try with needOr install directly
Source

About

GNU data recovery tool

Commands

ddrescue

Examples

Rescue data from a failing disk to an image file$ ddrescue -n /dev/sdb1 rescue.img rescue.log
Recover data with error handling and retry on bad sectors$ ddrescue -r3 /dev/sdb recovery.img recovery.log
Resume a previous recovery operation using the logfile$ ddrescue -R /dev/sdb recovery.img recovery.log