With RRD files there is an rrdmerge script that will import the old data into the new files:
I can't find the original download I used but it looks like this one is the same. https://bitbucket.org/flyingcircus/rrdmerge <https://bitbucket.org/flyingcircus/rrdmerge> The only consideration required is that the architectures of the old machine and new machine must be the same (i.e. x86_64). <https://support.nagios.com/kb/article/nagios-xi-migrate-performance-data.html> Otherwise you need to export to an XML file first. This KB article explains how to do an export/import https://support.nagios.com/kb/article/nagios-xi-migrate-performance-data.html Good luck. ________________________________ From: mrtg <[email protected]> on behalf of Edwin A. Epstein III <[email protected]> Sent: Friday, 30 June 2017 5:01 AM To: mrtg Subject: [mrtg] Graph history being overwritten Hi, I find myself needing to restore some graphs after a server died. MRTG is working on a new server without issue, except for the fact it overwrites all files placed on it. When I copy in the .old and .log files for a target and initiate MRTG it always replaces the entirety of the two files with zeros and the graph history is gone. In some cases, we have graph history going back 2 years or more. What is the best way to restore these old files? Additionally, what is the best way to merge old data, or two graphs into one? Sincerely, Edwin A Epstein, III Rhinobee Internet Services
_______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
