LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  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
Tonus
Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-current
Posts: 515
Blog Entries: 3

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

Have a look there : http://www.cgsecurity.org/wiki/TestDisk
 
Old 12-21-2015, 03:30 AM   #3
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,705

Rep: Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527
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
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.10, Centos 7.5
Posts: 17,670

Rep: Reputation: 2487Reputation: 2487Reputation: 2487Reputation: 2487Reputation: 2487Reputation: 2487Reputation: 2487Reputation: 2487Reputation: 2487Reputation: 2487Reputation: 2487
You will need to stop using that partition immediately or risk it really being overwritten.
 
Old 12-21-2015, 04:32 AM   #5
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,016
Blog Entries: 5

Rep: Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861
+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.
 
  


Reply


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
how to recover overwritten file Imtiaz Deen Linux - General 12 06-20-2019 08:20 AM
/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 can I recover firefox which was overwritten bhatmahesht Linux - Software 1 05-05-2008 05:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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