migrate netxms core server and db to another server

Started by cekamens, July 06, 2010, 09:17:32 AM

Previous topic - Next topic

cekamens

Can somebody tell howto correctly move netxms server with db to another server.



A

Victor Kirhenshtein

#1
Hi!

The most generic way is the following:

1. Stop netxmsd on old server
2. Export database using nxdbmgr:


nxdbmgr export export_file


3. Install same version of NetXMS on new server
4. Create and initialize new database as usual
5. Import data using nxdbmgr:


nxdbmgr import export_file


6. Run netxmsd on new server

If you will use different IP address on new server, you must add it as master server in agent configuration files.

If you are using external database which will not be migrated, you can just install NetXMS on new server and copy netxmsd.conf from old server - it should start working with same database without problems (don't forget to stop netxmsd on old server first).

Also, if you are migrating to same database engine, using database migration tool from database engine could be more effective.

Best regards,
Victor