Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started 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!
-
And just like every good administrator, you've backed it up. Right?
-
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.
-
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
-
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