Linux Recover Deleted Files

Restore Deleted Files on Linux with Extundelete
Extundelete is a tool for restoring deleted files. As the name implies supported partitions is ext3 and ext4 partitions. Own ext3 partition type is one of the most used in the Linux version of openSUSE 11.1, including down. Ext4 is the latest version of Ext3.

Although the function to restore the deleted file, there is a possibility of Extundelete fail to do recovery process due to one reason or another, so more Extundelete acted as firemen, not as an application used for backups the data. Use the real backup application as preventive action.

How do I use Extundelete on openSUSE?
1. Open the openSUSE Build Service, select the appropriate version of openSUSE and install it using a One-Click-Install.
2. Power off the computer, plug the hard drive whose data is about to direcover.
3. Check the position of the disk you are going to direcover with the command "fdisk -l" via a terminal or konsole.
4. Recover all deleted files with the following command (replace /dev/sdb2 with the position of the harddisk to direcover)
extundelete /dev/sdb2 --restore-all

Use the option "-restore-files" If you want to perform the recovery on a specific folder or use the option "-restore-inode" inode recoversy to do (the position of the file). If you want to know more options please run "extundelete" without any parameters.

Please keep in mind that Extundelete will automatically create the folder "RECOVERED_FILES" or "RESTORED_FILES" (folder name depending on options selected) in the folder where we run a command. These folders are used to hold the results of recover file.

Click here for Comments