LinuxQuestions.org
Register a domain and help support LQ
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 03-15-2011, 01:02 AM   #1
Fracker
Member
 
Registered: Mar 2009
Posts: 86

Rep: Reputation: 0
File Overwrite Recovery


Can I recover the file which has been overwritten.
 
Old 03-15-2011, 02:22 AM   #2
Telengard
Member
 
Registered: Apr 2007
Location: USA
Distribution: Kubuntu 8.04
Posts: 579
Blog Entries: 8

Rep: Reputation: 147Reputation: 147
Usually this is not possible. Even so, the documentation of the shred utility seems to leave room for hope. I don't know how it could be done.

http://www.linuxcommand.org/man_pages/shred1.html

Quote:
Overwrite the specified FILE(s) repeatedly, in order to make it harder for even very expensive hardware probing to recover the data.
To me this suggests that very expensive hardware probing could recover data which has been overwritten. I don't know what exactly that means though.

Last edited by Telengard; 03-15-2011 at 02:26 AM. Reason: add quote
 
Old 03-15-2011, 02:25 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
If you stop using the partition asap, you may get some stuff back. There are multiple threads here about that. iirc, photorec is one of the recommended tools.
 
Old 03-15-2011, 02:42 AM   #4
Telengard
Member
 
Registered: Apr 2007
Location: USA
Distribution: Kubuntu 8.04
Posts: 579
Blog Entries: 8

Rep: Reputation: 147Reputation: 147
Quote:
Originally Posted by chrism01 View Post
If you stop using the partition asap, you may get some stuff back. There are multiple threads here about that. iirc, photorec is one of the recommended tools.
Can photorec recover overwritten data?
 
Old 03-15-2011, 03:12 AM   #5
Telengard
Member
 
Registered: Apr 2007
Location: USA
Distribution: Kubuntu 8.04
Posts: 579
Blog Entries: 8

Rep: Reputation: 147Reputation: 147
http://en.wikipedia.org/wiki/Data_re...erwritten_data
 
Old 03-15-2011, 06:20 AM   #6
Fracker
Member
 
Registered: Mar 2009
Posts: 86

Original Poster
Rep: Reputation: 0
ok Thanks guyz for the answer, i just wanna confirm, what should i use to recover files like 1_????_705102936_arc which are only erased, not overwritten.

Meanwhile we are working on recovering the required file.
 
Old 03-15-2011, 07:20 AM   #7
tuxandpucks
LQ Newbie
 
Registered: Mar 2011
Distribution: Ubuntu, Arch
Posts: 24
Blog Entries: 4

Rep: Reputation: 1
Try testdisk or recuva to recover your data. They both work well for me. Good Luck.
 
Old 03-15-2011, 08:47 PM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
@Telengard; depends whether it's been truly/literally physically overwritten ie at the disk block level (unusual unless you go out of your way to achieve it) or whether it's just eg in the same dir. The latter wouldn't necessarily mean an actual overwrite.
 
  


Reply

Tags
file recovery


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 do you overwrite the contents of a file without changing the file size? lothario Linux - Software 3 07-13-2010 09:43 AM
using sed to insert line into file and overwrite the current file jadeddog Programming 3 06-11-2009 08:14 PM
need help preventing file overwrite using vsftpd kennmurrah Linux - Software 10 07-23-2008 10:58 AM
how to overwrite a particular line of a file kkpal Linux - Newbie 1 05-16-2008 03:35 AM
can we overwrite the permissions of folder/file zameer_india Linux - Networking 0 09-30-2004 02:11 AM


All times are GMT -5. The time now is 07:14 AM.

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