e2undo
Replay undo logs for an ext2/ext3/ext4 filesystem. tldr-pages
On Linux
Linux
Replay undo logs for an ext2/ext3/ext4 filesystem. This can be used to undo a failed operation by an e2fsprogs program.
Display information about a specific undo file
e2undo -h path/to/undo_file /dev/sdXNIdentifySimulate replaying the undo file and display the candidate blocks
e2undo -nv path/to/undo_file /dev/sdXNIdentifyPerform an undo operation
e2undo path/to/undo_file /dev/sdXNIdentifyPerform an undo operation and display verbose information
e2undo -v path/to/undo_file /dev/sdXNIdentifyWrite the old contents of the block to an undo file before overwriting a filesystem block
e2undo -z path/to/file.e2undo path/to/undo_file /dev/sdXNIdentify