View Full Version : AWstats implementation in Directadmin, how do I import old data...?
albatroz
08-08-2009, 09:19 AM
Hello,
As many people has stated in several posts posts, it seems that there isn't
a documented way for moving data of older awstats implementations (based in
plugins) to the new implementation included in the last version of Directadmin.
So this is a formal, respectful request for this documentation to the Directadmin
creew: Could you please release such documentation?
brendanb
08-11-2009, 04:14 AM
hey,
yes id like to know if this is possible also.
brendanb
08-11-2009, 07:36 AM
ok,
ive found a way to move my existing awstats data from cpanel to direct admin. I had to do a manual move of my site as it was so big that the DirectAdmin conversion tool didnt want to work. but thats a sidepoint
Ok. Onwards!
Please Note:
Im using the integrated direct AWStats admin setup. I dont know if this will work for the plug module but anway.
1.
Grab your cpanel logs, or old logs
There are found in the /home/yoursiteusername/tmp folder.
What i did was tar the whole folder just in case i neede something
tar -zcf username-awstats.tar.gz *
2.
I then scp / moved these to some location on my new server.
Then extarct the contents. The files you need are actually in the awstats folder.
This folder contains the *txt files that hold the awstat data
3. You need to copy/move these files into their respective folders on the new server.
cp awstats*.txt /home/username/domains/domainname/awstats/.data
4. Then finally you need to rerun the stats update to rebuild the awstats
cd /usr/local/directadmin/scripts
Then issue the following command
./awstats_process.sh username domainname
hope this helps someone in future
brendan
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.