Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-21-2015, 03:07 AM   #1
sadashiva m
LQ Newbie
Registered: Dec 2015
Posts: 1

Rep: Reputation: Disabled
Thumbs up Recover overwritten files in linux

how to recover overwritten file and store in to back up file
Old 12-21-2015, 03:20 AM   #2
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-current with grub2
Posts: 387
Blog Entries: 3

Rep: Reputation: 100Reputation: 100
Recover overwritten files in linux

Have a look there :
Old 12-21-2015, 03:30 AM   #3
Senior Member
Registered: Mar 2012
Posts: 1,465

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
If it has actually been overwritten it is unrecoverable.
If it has been unlinked (deleted) and the data remains in unwritten "free space" then recovery is possible.
Old 12-21-2015, 04:14 AM   #4
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,356

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
You will need to stop using that partition immediately or risk it really being overwritten.
Old 12-21-2015, 04:32 AM   #5
Senior Member
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 18.1 MATE
Posts: 3,073

Rep: Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066
+1 for Testdisk.

If Testdisk doesn't work, Photorec from the same developers may do so - it looks at the underlying raw data in order to recover files. In either case, save any restored files to another drive.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
/etc/fstab overwritten Please help to recover sagar666 Linux - Server 15 09-08-2015 10:07 AM
recover files from ext4 file system overwritten by new installation nsupathy Linux - General 1 07-03-2011 04:52 AM
[SOLVED] How to Recover Deleted (partly overwritten) Files in /home on ext3 fs, ubuntu 6.06 the_new_z Linux - Newbie 3 08-05-2010 01:44 PM
how to recover overwritten file Imtiaz Deen Linux - General 11 03-31-2010 10:24 PM
How can I recover firefox which was overwritten bhatmahesht Linux - Software 1 05-05-2008 05:18 AM

All times are GMT -5. The time now is 09:37 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration