Xymon Mailing List Archive search

Migrating to new server + Xymon version - want to preserve data

4 messages in this thread

list Carl Melgaard · Tue, 1 Dec 2020 08:02:20 +0000 ·
Hi,

Is it possible to copy over data from old xymon server to a new xymon server? And if so, what data do I need to copy to preserve all historic data (graphs, alerts etc.)?

Regards,

Carl Melgaard
list Dirk Kastens · Tue, 1 Dec 2020 09:21:34 +0100 ·
Hi Carl,

I just did this with a new server. From the old server, I did

# rsync -avh /var/lib/xymon/ new.server:/var/lib/xymon
# rsync -avh /usr/share/xymon/ new.server:/usr/share/xymon
# rsync -avh /etc/xymon/ new.server:/etc/xymon
# scp /etc/httpd/conf.d/xymon.conf new.server:/etc/httpd/conf.d

You have to change the server's hostname in xymonserver.cfg on the new server. But after that, everything should run.

Am 01.12.2020 um 09:02 schrieb Carl Melgaard:
quoted from Carl Melgaard
Hi,

Is it possible to copy over data from old xymon server to a new xymon server? And if so, what data do I need to copy to preserve all historic data (graphs, alerts etc.)?

Regards,

Carl Melgaard

-- 

Viele Gruesse,

Dirk Kastens
Universitaet Osnabrueck, Rechenzentrum (Computer Center)
Nelson-Mandela-Str. 4, 49076 Osnabrueck, Germany
Tel.: +XX-XXX-XXX-XXXX, FAX: -2470
list Torsten Richter · Tue, 1 Dec 2020 09:34:19 +0100 ·
Hi Carl,

did that a few times.
I copied over the data directory to the new server (which should have
all the data you want including the rrd and historic data) and then also
the .chk files from the tmp directory on the old server. That should be
enough.

Cheers,
Torsten
quoted from Carl Melgaard

On 01.12.2020 09:02, Carl Melgaard wrote:
Hi,

Is it possible to copy over data from old xymon server to a new xymon server? And if so, what data do I need to copy to preserve all historic data (graphs, alerts etc.)?

Regards,

Carl Melgaard

-- 
+---------------------------------------------------------+

| E-mail  : user-c862b499d9fa@xymon.invalid			  |
|							  |
| Homepage: http://www.richter-it.net/			  |
+---------------------------------------------------------+
Download my public key from:
http://keys.gnupg.net/pks/lookup?search=0x899093AC&op=get
list Stef Coene · Tue, 1 Dec 2020 13:47:07 +0100 ·
Hi,

If you go from 32bit to 64bit, you can not copy the rrd files.
You have to export them to xml on the old server, transfer the xml to the new server and import them on the new server.


Stef
quoted from Carl Melgaard

On 2020-12-01 9:02, Carl Melgaard wrote:
Hi,

Is it possible to copy over data from old xymon server to a new xymon server? And if so, what data do I need to copy to preserve all historic data (graphs, alerts etc.)?

Regards,

Carl Melgaard