ispCP - Board - Support
Move server, keep stats - how? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Migration (/forum-35.html)
+--- Thread: Move server, keep stats - how? (/thread-5415.html)



Move server, keep stats - how? - Kwik - 01-12-2009 09:55 AM

I move from one server to another. Doing this with one domain after the other. Which files do I need to move to keep the old AWStats (dynamic)?


RE: Move server, keep stats - how? - BeNe - 01-13-2009 08:01 PM

You need the ConfigFile for the Domain from /etc/awstats/ and the combined.log
Code:
/var/log/apache2/domain.tld-combined.log

Greez BeNe


RE: Move server, keep stats - how? - Kwik - 01-14-2009 08:16 AM

Thanks, but something is still missing. /etc/awstats is already there because I created the hosts on the new server.

I copied all the combined.logs - but I still only can see the stats starting at the point when I created the new host on the new server Sad


RE: Move server, keep stats - how? - rbtux - 01-14-2009 08:35 AM

did you run the update perl skript ?


RE: Move server, keep stats - how? - BioALIEN - 01-14-2009 01:48 PM

What if you open the new logs and paste the contents of the old log. Maybe it will work?

Note: I haven't tried this so make a backup!


RE: Move server, keep stats - how? - Kwik - 02-01-2009 04:34 AM

(01-14-2009 08:35 AM)rbtux Wrote:  did you run the update perl skript ?

which one?


RE: Move server, keep stats - how? - zmediaguru - 02-07-2009 10:15 AM

On Ubuntu, AWstats data files are stored in /var/cache/awstats. I can't speak for sure about other distros.

If you copy those files over to your new server, you should see your stats populated from before your migration.