How to recover deleted files on ext paratition

Yesterday, I’ve just deleted something which I didn’t want to delete! If you use ext3/ext4 you may be able to recover the file with ext3grep or extundelete with information from the file system journal if the content of the file wasn’t already overwritten by new data. Your partition uses ext4 you have to use extundelete, if it’s ext3 you can use also ext3grep
The first step should be to stop all writing processes on the related partition and unmount that partition as soon as possible. Getting the disk unmounted or re-mounted as read only helps a great deal in the recovery effort. Data recovery, especially on EXT file systems, should be attempted from a live CD or other system that isn’t depending on the partition you’re undeleting from.

Read moreHow to recover deleted files on ext paratition