Xymon Mailing List Archive search

how to migrate historical data

list Phil Crooker
Wed, 27 Aug 2014 04:23:32 +0000
Message-Id: <user-67938961b8bb@xymon.invalid>

You need to use -r to recursively copy.

cheers, P
From: Xymon on behalf of Kris Springer
Sent: Wednesday, 27 August 2014 1:41 PM
To: Stef Coene; xymon at xymon.com
Subject: Re: [Xymon] how to migrate historical data

I tried using scp to copy the following directories over to the new server.
/var/lib/xymon/hist/
/var/lib/xymon/histlogs/
/var/lib/xymon/rrd/

But I keep getting 'not a regular file' errors on the rrd and histlogs files.  I need the rrd data.  The graphs are really all I care about.


Thank you.


Kris Springer


On 8/26/2014 12:12 PM, Stef Coene wrote:

On Tuesday 26 August 2014 09:33:18 Kris Springer wrote:


I've built a second Xymon server that I plan to use as my primary, but I
need to pull all the historical data from the old one.  What's a quick
way to do that?  Can I just add the new server's IP into a config file
and have the old one just pump all the data over?


Just copy the data directory.
If the rrd's are not compatibel (32 bit -> 64 bit) you can export the rrd to
xml on the old server, transfer the xml file and import the xml to an rrd.  I
juist did that for one of our customers :)


Stef