Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Recovery

Tools to copy data off failing disks, find lost partitions and files, and back up or restore file systems.

On a failing disk, copy first, repair later: every read of a dying disk may be one of the last. Image it with ddrescue onto a healthy disk, then run the other tools on the image (see losetup).

ToolFor
ddrescuecopying a failing disk, skipping and retrying bad areas
testdiskfinding lost partitions, repairing boot sectors, undeleting
photorecrecovering files by their content, whatever the file system
extundeleteundeleting files on ext3/ext4
partcloneimaging only the used blocks of a file system
fsarchiverbacking up and restoring file systems as archives
gpartguessing a lost MBR partition table
restic, borggetting files back from backups