wiki-grav/pages/02.linux/data-recovery/default.en.md
2024-06-29 21:39:36 +02:00

911 B

title visible
Data Recovery false

[toc]

Create disk image

ddrescue

This command copies as much as possible from a failing drive into a disk image

[shroot]

ddrescue -n /dev/sdX copy.img rescue.map

[/shroot]

The second round uses multiple tries in attempts to also rescue previously identified bad blocks.

[shroot]

ddrescue -d -r3 -n /dev/sdX copy.img rescue.map

[/shroot]

ArchWiki - Disk cloning
Unix StackExchange - Please help me rescueing a failing hard drive

Recover Partition Table

TODO: testdisk

File Recovery

TODO: photorec

TODO: foremost

ArchWiki - File Recovery
Wikipedia - Data recovery