[mrtg] Re: log rotation

Igor Smitran igor at poen.net
Mon Aug 2 17:40:17 MEST 2004


Bill Wichers wrote

> Why would you want to rotate MRTG logs? The files are a set size that do
> not grow over time, which is the whole point of the round-robin database.
> MRTG automatically takes care of older data in the files.
>
> If you were to rotate the logs, you would loose all historical data in the
> graphs before the time of rotation. Essentially you would force MRTG to
> start from scratch with a new log file every time you rotated out the old
> data.
>
> If you're just looking to backup the data just copy * in your MRTG
> directory to a backup location, or just copy *.log if you want the minimum
> data necassary to recreate all the graphs.

Thank you, i didn't know that logs have set size.
Regards,
Igor

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list