1850451 Members
4316 Online
104054 Solutions
New Discussion

undelete

 
SOLVED
Go to solution
U.SivaKumar_2
Honored Contributor

undelete

Hi,
Imagine two situations
Case 1:

I deleted a file from a directory residing in a
single hard disk . How can I recover the file ?

Case 2:

I deleted a file from a direcotry residing in a
AutoRAID box . How can I recover the file ?

regards,
U.SivaKumar
Innovations are made when conventions are broken
7 REPLIES 7
Armin Feller
Honored Contributor

Re: undelete

Hi,

I'm very very sorry, but in the unix filesystem there is no utility to do a kind of "undelete" to retrieve the files. Once files are removed it is not possible to get them back.

If you have a backup of this file be happy ;-)

If not, bad luck ;-(

Regards,
Armin
Jean-Louis Phelix
Honored Contributor

Re: undelete

hi,

I think that your problem is never related to the kind of disk in UNIX, but rather to filesystem structure. Allocated blocks are given back to filesystem free list, not to disk. Try to use fsdb ... not so easy :^)

Regards
It works for me (© Bill McNAMARA ...)
Robert-Jan Goossens
Honored Contributor

Re: undelete

Hello,

Take a look at this.

Cheryl Griffin

July 31, 2002 14:06 PM GMT [ unassigned ]

--------------------------------------------------------------------------------
Here is one example of a Data Recovery Specialist:
http://www.ontrack.com/datarecovery/

Check for someone local as well.
Cheryl

Hope it helps.

Robert-Jan.

question:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xfd2a4b3ef09fd611abdb0090277a778c,00.html
U.SivaKumar_2
Honored Contributor

Re: undelete

Hi,

I am aware that there is no utility and it is difficult But I need some tricks like in linux.

As binary file recovery is impossible . I am interested in only text file reovery.

regards,
U.SivaKumar
Innovations are made when conventions are broken
melvyn burnard
Honored Contributor

Re: undelete

Basically you should have good backups, and then be able to recover from these.
You could also write some form of script to auto-backup or even have a "wrapper" around the vi command that basically copies the file to a backup file BEFOE you edit it. That way, at least you havet he backup if you do remove the origional.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
john korterman
Honored Contributor
Solution

Re: undelete

Hi,
perhaps you already know this article:
http://www.samag.com/documents/s=1441/sam0111b/0111b.htm

regards,
John K.
it would be nice if you always got a second chance
Pete Randall
Outstanding Contributor

Re: undelete

Expanding a bit on Melvyn's editor comments, emacs creates a backup copy of a file when editing. It appends a "~" symbol to the filename. My programmers have them scattered throughout my filesystems - it's a good thing disks are cheap!

Pete

Pete