Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Kevin2K on February 06, 2003, 07:26:04 PM

Title: How to undelete deleted files?
Post by: Kevin2K on February 06, 2003, 07:26:04 PM
Help me! I've deleted the whole awstats directory, which was located in /home/e-smith/files/users/admin
Is there a way to recover this, it contained my statistics for more then one year! Please help me!
Title: Re: How to undelete deleted files?
Post by: Ari on February 06, 2003, 08:43:53 PM
And just like every good administrator, you've backed it up. Right?
Title: Re: How to undelete deleted files?
Post by: Kevin2K on February 06, 2003, 11:10:14 PM
Nope, that's why I'm in deep trouble, I tried the Undelete Files option that comes with MC, but this only results in a list of thousands of strange numbers.
Title: Re: How to undelete deleted files?
Post by: Ari on February 07, 2003, 01:37:53 AM
Kevin2K wrote:
>
> Nope, that's why I'm in deep trouble, I tried the Undelete
> Files option that comes with MC, but this only results in a
> list of thousands of strange numbers.

Yup. You're hooped.

There are two types of people in this world:
1) People who will lose data
2) People who have lost data

"Backup" should be part of your regular vocabulary now. :)

Sorry I can't be of more help.

Ari
Title: Re: How to undelete deleted files?
Post by: Paul on February 27, 2003, 09:29:46 AM
Kevin,

I'm no expert (actually a NEWBEE) but you might consider the following:

AWstats builds a stats file from the log files that apache produces.  if the log files are still in tact (I believe they are NOT in the same directory with the AWstats file), you might be able to recover some if not all of the data if the log files have not been purged.

First I would suggest backing up everything.

Next, did you install AWstats or did you install the Neddix version that runs thru the sme server-manager?

After you determine which version you have, UNINSTALL it.

Next, go to http://nx.dyndns.info/fs.php and click on AWStats 5.3 for SME Server. (this version will work on SME V5.1.2, 5.5, 5.6 only.  This version ROCKS!!!

Install this latest version and let it re-build the stats files from the apache log files.  This will take a long time if your log files are large (maybe even hours or days because it figures out every domain name).

Good Luck and let me know if this works,

Paul