ddrescue
Data recovery tool that reads data from damaged block devices. More information: <https://www.gnu.org/software/ddrescue/>.
Install
- All systems
-
curl cmd.cat/ddrescue.sh
- Debian
-
apt-get install gddrescue - Ubuntu
-
apt-get install gddrescue -
Alpine
-
apk add ddrescue - Arch Linux
-
pacman -S ddrescue - Kali Linux
-
apt-get install gddrescue - Fedora
-
dnf install ddrescue - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install gddrescue - OS X
-
brew install ddrescue - Raspbian
-
apt-get install gddrescue - Docker
-
docker run cmd.cat/ddrescue ddrescuepowered by Commando
Data recovery tool that reads data from damaged block devices. More information: <https://www.gnu.org/software/ddrescue/>.
-
Take an image of a device, creating a log file:
sudo ddrescue /dev/sdb path/to/image.dd path/to/log.txt -
Clone Disk A to Disk B, creating a log file:
sudo ddrescue --force --no-scrape /dev/sdX /dev/sdY path/to/log.txt
© tl;dr; authors and contributors