Results 1 to 10 of 16
i overwritten an important file and i don't know what tool to use to make a recovery. my fs is ext4 and distro ubuntu en...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-04-2010 #1Just Joined!
- Join Date
- Aug 2010
- Posts
- 7
data recovery on ext4
i overwritten an important file and i don't know what tool to use to make a recovery. my fs is ext4 and distro ubuntu en
- 08-04-2010 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,733
Hello and welcome!
I'm not sure they'll work in this case, but you can try using TestDisk or PhotoRec (also found on the TestDisk page) to recover files:
TestDisk - CGSecurity
It's best to run them from a liveCD, such as Parted Magic.
Good luck with it.oz
- 08-04-2010 #3Just Joined!
- Join Date
- Aug 2010
- Posts
- 7
Unfortunately TestDisk don't support the EXT4 FS
- 08-04-2010 #4Just Joined!
- Join Date
- Aug 2010
- Posts
- 7
I found few apps that handle the ext4 on linux softpedia searching for EXT4 (sorry I have not permit to post links). I tried to install them but I am unable to make the installs. I searched for lived cd with these apps already configured, but I did'nt found. Any idea?
- 08-04-2010 #5
A few more things to try.
I'd take a snapshot of partition with dd before committing any changes.
- 08-05-2010 #6forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,733
- 08-05-2010 #7
Try using extundelete extundelete: An ext3 and ext4 file undeletion utility - If that didn't help try foremost.

Is it deleted using rm command or overwritten using a command shred? If you deleted it using rm - I have chance to recover with above tool. If you used shred command,you can't recover it using any tools.
First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-----
FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org
- 08-05-2010 #8Just Joined!
- Join Date
- Aug 2010
- Posts
- 7
It was a text formatting file without extension. An application has replaced the file using the same name. The original file was 40 KB, the new one is empty ...
I made a terrible mistake naming my important into a file named "log". Probabily I need holidays
- 08-05-2010 #9
Is the system still running ? Did you umount the partition?
extundelete will help you to recover from journal ,iff the file system is unmount - so that the journal entry is not overwritten.
If journal entries are lost - then Foremost is the only option left.First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-----
FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org
- 08-05-2010 #10
Useful info here https://help.ubuntu.com/community/DataRecovery
First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-----
FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org


Reply With Quote

