Download and Install Extundelete:
Download the latest version of Extundelete - here
To compile and install Extundelete, you should first install the binary and development packages for e2fsprogs and e2fslibs. You must also have a C++ compiler and a make utility to compile extundelete.
Go to terminal and type following command to install Extundelete:
tar -xjf extundelete-0.2.0.tar.bz2
cd extundelete-0.2.0
./configure
make
The extundelete program may be run as-is from the build directory, or you may wish to install it to a directory that is shared with other executable programs, which you may do by running the following command: make install
Using extundelete:
Assume you have deleted a file called /home/user/an/important/file. Also assume the output of the 'mount' command shows this line (among others):
/dev/sda3 on /home type ext3 (rw)
This line shows that the /home directory is on the partition named /dev/sda3, so then run:
umount /dev/sda3 and check that it is now unmounted by running the mount command again and seeing it is not listed.Now, with this information, run extundelete:
# extundelete /dev/sda3 --restore-file user/an/important/file
If you have deleted the directory 'important', you can run:
# extundelete /dev/sda3 --restore-directory user/an/important
Or if you have deleted everything, you can run:
# extundelete /dev/sda3 --restore-all
4 comments:
Well it seems a nice product for linux recovery. Last time I have used the Stellar Phoenix Linux recovery software , quite satisfactory . Next time I will try extundelete.
I'm getting an error saying C++ compiler cannot create executables.
Running Ubuntu 10.10 Server with GUI
Got around the compiler error... Had to run
sudo apt-get install build-essential
first before I could compile...
extundelete is awesome so is learning your lesson and having regular working backups :) thank you extundelete
Post a Comment