https://www.gnu.org/software/ddrescue/
Download latest
https://mirrors.hopbox.net/gnu/ddrescue/
extract
sudo apt-get install p7zip-full tar -xf ddrescue[version].tar.lz
Compile
./configure make
Command
sudo ./ddrescue -d -r 3 <infile> <outfile> <logfile>
for example
sudo ./ddrescue -d -r 3 /dev/sda /media/vishal/data/backup/drive.img /media/vishal/data/backup/drive.log
NOTE: to extract .img file, refer How_to_create_image.
©2023-2024 rculock.com