Ddrescue: Difference between revisions

From Federal Burro of Information
Jump to navigationJump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:


  ddrescue /dev/sdb3 /data/sdb3.ddrescue  /data/sdb3.mapfile
  ddrescue /dev/sdb3 /data/sdb3.ddrescue  /data/sdb3.mapfile
recoverdrive.sh
<pre>
#!/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
</pre>
[[/recover notes 201907]]

Latest revision as of 17:32, 6 August 2022

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