0

How to recover recently deleted file from ex4 partition?

Mashine hosts Open SUSE 11.2 (kernel 2.6.31)

dimba
  • 293
  • 1
  • 2
  • 11

3 Answers3

2

Try this: http://extundelete.sourceforge.net/

Mark Wagner
  • 18,019
  • 2
  • 32
  • 47
1

You can also use the tried-and-true testdisk/photorec. http://www.cgsecurity.org/wiki/TestDisk

It is on SystemRescueCD.

FIRST, though, umount that harddrive! the more writes you to do it (including simple timestamp updating, etc.), the less chance you have of recovering the file.

brent saner
  • 430
  • 2
  • 7
0

undeleting with ext3 is easy, unfortunately undeleting under ext4 is pure horror (does it zero out journals?)

only chance: use testdisk -> photorec /dev/sdx (can restore content of files, but not the filenames!) under "File Ops" it is possible to enable only specific filetypes (xlsx & docx = zip)

how to get deleted files back from ext4

good luck!

making the case for ZFS snapshots?

user13226980
  • 57
  • 1
  • 5