The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Lock a file from being deleted? Darren Taylor Shell Programming and Scripting 3 03-10-2008 06:07 AM
Retrieving deleted files manna UNIX for Dummies Questions & Answers 3 01-07-2008 10:08 PM
Retrieving PID from a file appleforme1415 UNIX for Dummies Questions & Answers 5 10-18-2007 01:44 AM
File deleted bymistake csreenivas SUN Solaris 1 06-07-2007 06:00 AM
Automating Rlogin and File Retrieving vicesjr Shell Programming and Scripting 3 04-27-2005 10:30 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-04-2002
jyotipg jyotipg is offline
Registered User
  
 

Join Date: Oct 2001
Location: Bangalore
Posts: 95
retrieving a deleted file

hi!,
is there any way to retrieve a file that I have deleted few minutes back?? I am using Solaris- 5.6..
  #2 (permalink)  
Old 01-04-2002
cns cns is offline
Registered User
  
 

Join Date: Dec 2001
Location: Maastricht (The Netherlands)
Posts: 15
There is no way of retreiving a deleted file.

When you delete a file the inode becomes free. Usually this inode will be used for the first new file which is created. So retrieving is not an option

As far as I know there is no undelete of retrieve in UNIX.

The only thing you can do is restore it from tape (if you have saved your file(s) on tape.
  #3 (permalink)  
Old 01-04-2002
jyotipg jyotipg is offline
Registered User
  
 

Join Date: Oct 2001
Location: Bangalore
Posts: 95
Cool partly success

well certainly there appears to be no way to retrieve exactly the same deleted file. So, all I could do is look for the file in

/var/preserve/username

that is where VI stores the open files when the session is suddenly terminated. And luckily I found a recent version of my deleted file there...
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:39 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0