Linux debugfs Hack: Undelete Files
May 04, 2012, 05:00 (0 Talkback[s])
(Other stories by nixCraft)
Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers
Undeletion means restoring files which have been deleted from Linux ext3 file system using rm command. Deleted files can be recovered on ext3 file systems using the debugfs program. This quick tutorial describes how to recover a file that was recently deleted using nothing but standard Linux command line utilities. Only sys administrators and root user can view and recover the deleted files using debugfs command. You need to immediately unmount the file system the deleted file was located on to minimizes the risk that the data of the deleted file are overwritten by other users or system process.