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 10-05-2012, 06:04 AM   #1
Vthimmap
Member
 
Registered: Oct 2012
Posts: 34

Rep: Reputation: Disabled
Is there way to recover a overwritten log file.


While renaming a file, it happened to overwrite a log file.Is there any to return back the original data.
 
Old 10-05-2012, 06:35 AM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Posts: 3,366
Blog Entries: 33

Rep: Reputation: 216Reputation: 216Reputation: 216
Hi, if you're lucky the FS has renamed the old file as "filename~"

Check that first, you may need to open "as text file" or access it from a text editor and

then rename the file <edit>and save it in /home/.... You may not be able to save to /usr/log

HTH, Glenn

Last edited by GlennsPref; 10-05-2012 at 06:37 AM. Reason: spelling
 
  


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
recover files from ext4 file system overwritten by new installation nsupathy Linux - General 1 07-03-2011 05: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 02:44 PM
how to recover overwritten file Imtiaz Deen Linux - General 11 03-31-2010 11:24 PM
How can I recover firefox which was overwritten bhatmahesht Linux - Software 1 05-05-2008 06:18 AM
need to recover from disk partion info being overwritten jhoggatt Linux - General 6 03-01-2007 05:59 PM


All times are GMT -5. The time now is 05:19 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