The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Retrieving deleted files manna UNIX for Dummies Questions & Answers 3 01-07-2008 06:08 PM
Finding deleted files Krrishv Shell Programming and Scripting 2 01-11-2007 09:28 PM
recover deleted files vjm AIX 1 03-30-2005 06:56 AM
restoring deleted files mikem UNIX for Dummies Questions & Answers 3 03-10-2005 04:49 PM
Recover deleted files kuultak UNIX for Dummies Questions & Answers 2 11-01-2004 10:05 AM

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-22-2002
Registered User
 

Join Date: Jun 2001
Location: West Chester, Pa.
Posts: 8
Unhappy Retrieval of deleted files

We have a situation in a large dept of programmers where critical accounting data files were deleted. Is there any way in UNIX to trace deletions and or possibly retrieve the deleted file?
Forum Sponsor
  #2 (permalink)  
Old 01-22-2002
PxT's Avatar
PxT PxT is offline
Registered User
 

Join Date: Oct 2000
Location: Sacramento, CA
Posts: 905
Simple: just mount your backup tape and restore the needed file. You do backup your critical files, right?

In general, there is no "undelete" function in Unix. You can also ship the drive off to one of the "data recovery" companies -- but they will charge you an exhorbitant fee and cannot guarantee data retrieval.
  #3 (permalink)  
Old 01-22-2002
Registered User
 

Join Date: Jun 2001
Location: West Chester, Pa.
Posts: 8
Thanks. But of course this is not that easy. Yes we have backups... our problem was with the active data from that day... Thanks anyway.
  #4 (permalink)  
Old 01-22-2002
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,191
Some people alias the rm command so that it makes copies of the files to a specified directory and then deletes.... this is common practice by system admins when users tend to delete files with rm. If you alias or replace with a script to create backup copies, life can be easier if you have users who tend to make mistakes.

BTW: I don't do the above ...!!.... I tend to create backup copies manually when editing files or performing trickly delete operations. For example, if working on a file... I first create a file.original backup.... same with directories...... then when the work is complete and tested I delete the original-working files.
  #5 (permalink)  
Old 01-23-2002
Registered User
 

Join Date: Jun 2001
Location: West Chester, Pa.
Posts: 8
Thanks for your input. We also have similar practices set in place, but the renaming does not always take place. I will look into the rm command option. That sounds like something that could prove to be a lifesaver for those who do not carefully execute this command.
I appreciate you input.
  #6 (permalink)  
Old 01-23-2002
Registered User
 

Join Date: Jan 2002
Location: Switzerland Zürich
Posts: 7
There is one other way i think....

but for your problem it is probably too late...

check this out:
http://www.fish.com/tct/help-recovering-file
  #7 (permalink)  
Old 01-23-2002
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,191
Thanks for the link to the 'recover-lost-files' page..... the paper (quoted below) mentioned a few utlities like unrm and lazarus. Any idea where to get these tools? I could not find the reference to these tools or a link on the page.

I want to try this .... !!!

Quote:
Cliff Notes Version: Use "unrm" to recover the data, from the file system with the lost file, to another file system; run lazarus, and comb through the results until you find your data.
Maybe the tools mentioned are in the TCT distro? Link below:

http://www.fish.com/tct/

BTW: Myrkul, thank you very much for the EXCELLENT post !!
Google UNIX.COM
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:35 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0