Forum Moderators: phranque

Message Too Old, No Replies

Undelete? Recycle Bin?

Accidentally deleted server file!

         

Venturus

7:28 pm on Jun 20, 2006 (gmt 0)

10+ Year Member



Okay, in my FTP program I meant to copy a folder to my l ocal computer, and somehow, I instead deleted it from the server. Is there any way to get it back? I am on a Linux box BTW.

jtara

12:10 am on Jun 21, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is there any way to get it back?

Did you try doing a search? It's amazing what you can find out with a search...

I was going to answer "no". While Gnome and KDE both have recycle bins, they only work with files deleted through the GUI. (i.e. not with files deleted through a command window, FTP, etc.)

However, there is a "hard way". It's possible to search for deleted inodes (e.g. directory entries) and then retore them, as long as you have sufficient knowledge of the file.

There's free software to automate this:

[recover.sourceforge.net...]

You need to know:

* Hard disk device name
* Year of deletion
* Month of deletion
* Weekday of deletion
* First/Last possible day of month
* Min/Max possible file size
* Min/Max possible deletion hour
* Min/Max possible deletion minute
* User ID of the deleted file
* A text string the file included (can be ignored)

It may or may not be possible to recover the file, depending on how long it's been since the deletion (amount of disk writing activity) how full the disk is, etc. And what you recover may or may not be corrupted.