NetXMS Server Recommended Backup and Restore Process

Started by silversword, October 19, 2016, 12:32:41 AM

Previous topic - Next topic

silversword

I don't see anything listed in the official docs
https://www.netxms.org/documentation/adminguide

for the standard backup/restore process of NetXMS and it's configuration and data (in case of server crash).

Anything in the Management Console to automate that?
Any script templates out there for scheduling backups?

Thanks!

Alex Kirhenshtein

Almost everything is in the database. You can dump database while netxmsd is running.

1) Backup netxmsd.conf / nxagentd.conf
2) Backup /var/lib/netxms (if you custom images, sounds or packages)
3) Backup database (pg_dump, mysqldump, exp, etc.)

Restore procedure is:
1) Restore or recreate config
2) Restore files, if any
3) Restore database
4) Check data consistency: "nxdbmgr check"

Woody

Hello,
is this still up to date? Or should I rather use the nxdbmgr export command?

Best reagrds,
Woody

Alex Kirhenshtein

Yes, it's still up to date.
Export is slow (especially on large databases) and require server to be down.