Daniel's Tech Blog

Cloud Computing, Cloud Native & Kubernetes

AWStats: Statistik des Vorjahres archivieren

Ich hatte leider vergessen am 31.12.09 die fertig erstellte Statistik von AWStats zu sichern. Demzufolge wurde sie beim nächsten Update mit der Neuen von 2010 überschrieben. 🙁 Dies stellte allerdings kein Problem dar, da die XML-Dateien mit den nötigen Daten nicht überschrieben werden. Kurz um die XML-Dateien auf einen anderen Rechner kopiert und AWStats samt Perl installiert. Jetzt wurde noch das Datum auf 2009 zurückgestellt und mittels der folgenden Befehle aus den XML-Dateien die neue Statistik erstellt:

perl awstats.pl -config=mysite -output -staticlinks -month=all -year=all > index.html
perl awstats.pl -config=mysite -output=alldomains -staticlinks -month=all -year=all > awstats.keil.eu.alldomains.html
perl awstats.pl -config=mysite -output=allhosts -staticlinks -month=all -year=all > awstats.keil.eu.allhosts.html
perl awstats.pl -config=mysite -output=lasthosts -staticlinks -month=all -year=all > awstats.keil.eu.lasthosts.html
perl awstats.pl -config=mysite -output=unknownip -staticlinks -month=all -year=all > awstats.keil.eu.unknownip.html
perl awstats.pl -config=mysite -output=alllogins -staticlinks -month=all -year=all > awstats.keil.eu.alllogins.html
perl awstats.pl -config=mysite -output=lastlogins -staticlinks -month=all -year=all > awstats.keil.eu.lastlogins.html
perl awstats.pl -config=mysite -output=allrobots -staticlinks -month=all -year=all > awstats.keil.eu.allrobots.html
perl awstats.pl -config=mysite -output=lastrobots -staticlinks -month=all -year=all > awstats.keil.eu.lastrobots.html
perl awstats.pl -config=mysite -output=urldetail -staticlinks -month=all -year=all > awstats.keil.eu.urldetail.html
perl awstats.pl -config=mysite -output=urlentry -staticlinks -month=all -year=all > awstats.keil.eu.urlentry.html
perl awstats.pl -config=mysite -output=urlexit -staticlinks -month=all -year=all > awstats.keil.eu.urlexit.html
perl awstats.pl -config=mysite -output=browserdetail -staticlinks -month=all -year=all > awstats.keil.eu.browserdetail.html
perl awstats.pl -config=mysite -output=osdetail -staticlinks -month=all -year=all > awstats.keil.eu.osdetail.html
perl awstats.pl -config=mysite -output=unknownbrowser -staticlinks -month=all -year=all > awstats.keil.eu.unknownbrowser.html
perl awstats.pl -config=mysite -output=unknownos -staticlinks -month=all -year=all > awstats.keil.eu.unknownos.html
perl awstats.pl -config=mysite -output=refererse -staticlinks -month=all -year=all > awstats.keil.eu.refererse.html
perl awstats.pl -config=mysite -output=refererpages -staticlinks -month=all -year=all > awstats.keil.eu.refererpages.html
perl awstats.pl -config=mysite -output=keyphrases -staticlinks -month=all -year=all > awstats.keil.eu.keyphrases.html
perl awstats.pl -config=mysite -output=keywords -staticlinks -month=all -year=all > awstats.keil.eu.keywords.html
perl awstats.pl -config=mysite -output=errors404 -staticlinks -month=all -year=all > awstats.keil.eu.errors404.html


Posted

in

WordPress Cookie Notice by Real Cookie Banner