NetXMS Support Forum

English Support => General Support => Topic started by: silversword on October 19, 2016, 12:32:41 AM

Title: NetXMS Server Recommended Backup and Restore Process
Post by: silversword on October 19, 2016, 12:32:41 AM
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!
Title: Re: NetXMS Server Recommended Backup and Restore Process
Post by: Alex Kirhenshtein on October 19, 2016, 02:11:49 PM
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"
Title: Re: NetXMS Server Recommended Backup and Restore Process
Post by: Woody on April 09, 2020, 06:41:02 PM
Hello,
is this still up to date? Or should I rather use the nxdbmgr export command?

Best reagrds,
Woody
Title: Re: NetXMS Server Recommended Backup and Restore Process
Post by: Alex Kirhenshtein on April 09, 2020, 07:11:27 PM
Yes, it's still up to date.
Export is slow (especially on large databases) and require server to be down.