Current time: 11-25-2024, 03:02 PM Hello There, Guest! (LoginRegister)


Post Reply 
Move server, keep stats - how?
Author Message
Kwik Offline
Junior Member
*

Posts: 41
Joined: May 2007
Reputation: 0
Post: #1
Move server, keep stats - how?
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)?
01-12-2009 09:55 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: Move server, keep stats - how?
You need the ConfigFile for the Domain from /etc/awstats/ and the combined.log
Code:
/var/log/apache2/domain.tld-combined.log

Greez BeNe
01-13-2009 08:01 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Kwik Offline
Junior Member
*

Posts: 41
Joined: May 2007
Reputation: 0
Post: #3
RE: Move server, keep stats - how?
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
01-14-2009 08:16 AM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #4
RE: Move server, keep stats - how?
did you run the update perl skript ?
01-14-2009 08:35 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BioALIEN Offline
Public Relations Officer
*****
Dev Team

Posts: 620
Joined: Feb 2007
Reputation: 5
Post: #5
RE: Move server, keep stats - how?
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!
01-14-2009 01:48 PM
Find all posts by this user Quote this message in a reply
Kwik Offline
Junior Member
*

Posts: 41
Joined: May 2007
Reputation: 0
Post: #6
RE: Move server, keep stats - how?
(01-14-2009 08:35 AM)rbtux Wrote:  did you run the update perl skript ?

which one?
02-01-2009 04:34 AM
Find all posts by this user Quote this message in a reply
zmediaguru Offline
Junior Member
*

Posts: 16
Joined: Jan 2007
Reputation: 0
Post: #7
RE: Move server, keep stats - how?
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.
02-07-2009 10:15 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)