r/LinuxTeck • u/Expensive-Rice-2052 • Sep 01 '26
Recover Deleted Files in Linux
covers : https://www.linuxteck.com/recover-deleted-files-in-linux/
Identifying the filesystem and affected device
Checking Trash, shell history, snapshots, and backups
Creating a forensic image before attempting deeper recovery
Using extundelete and ext4magic for ext3/ext4
Using PhotoRec for signature-based recovery
Handling LVM and LUKS setups
Saving recovered files somewhere other than the source disk
1
u/ntropia64 Sep 02 '26
Recovering files is a serious issue so inaccuracies here can make a lot of damage.
I stopped reading when I saw ext4magic, which has not been maintained for 10 years and is deemed incompatible with current ext4 filesystems.
Not sure who made this but clearly they didn't know what they were talking about.
1
u/iron-duke1250 Sep 01 '26
Excellent, thank you!