Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
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...
  1. #1
    Just Joined!
    Join Date
    Aug 2010
    Posts
    7

    Post 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

  2. #2
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,091
    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

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Just Joined!
    Join Date
    Aug 2010
    Posts
    7
    Unfortunately TestDisk don't support the EXT4 FS

  4. #4
    Just 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?

  5. #5
    Linux Engineer Segfault's Avatar
    Join Date
    Jun 2008
    Location
    Acadiana
    Posts
    855
    A few more things to try.

    I'd take a snapshot of partition with dd before committing any changes.

  6. #6
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,091
    Quote Originally Posted by nodnolse1 View Post
    Unfortunately TestDisk don't support the EXT4 FS
    Thanks for pointing that out because I've never noticed it before. Looks like the TestDisk developer has some catching up to do.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  7. #7
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    Quote Originally Posted by nodnolse1 View Post
    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
    Try using extundelete extundelete: An ext3 and ext4 file undeletion utility - If that didn't help try foremost.

    Quote Originally Posted by nodnolse1 View Post
    i overwritten an important file
    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.
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  8. #8
    Just 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

  9. #9
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    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.
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  10. #10
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...