Ddrescue

From Federal Burro of Information
Jump to navigationJump to search

https://www.gnu.org/software/ddrescue/

https://anarc.at/services/archive/rescue/

https://www.cgsecurity.org/wiki/TestDisk_Download

ddrescue /dev/sdb3 /data/sdb3.ddrescue  /data/sdb3.mapfile

recoverdrive.sh

#!/bin/sh

ddrescue --no-split /dev/sdb1 /data/sdb2_2.img /data/sdb2.log
cp /data/sdb2.log /data/sdb2_2.log
ddrescue --direct --max-retries=3 /dev/sdb2 /data/sdb2_2.img /data/sdb2.log
cp /data/sdb2.log /data/sdb2_3.log
ddrescue --direct --retrim --max-retries=3 /dev/sdb2 /data/sdb2_2.img /data/sdb2.log

/recover notes 201907