Now that I have enough things added that I would not want to have to start again - what is the consensus on backups?
Just the DB? and if so, is there a standard command to use - or a sequence of commands?
The closest I found was this
https://www.netxms.org/forum/installation/netxms-server-backup-and-restore-process/
So for my postgres on Windows, it would be
1) Backup netxmsd.conf / nxagentd.conf
2) Backup /netxms (keep everything - much easier)
3) Backup database (pg_dump)
4) Backup copy of DB and NetXMS install files (for bare metal restore)
Restore procedure is:
1) Restore or recreate config
2) Restore files, if any
3) Restore database
4) Check data consistency: "nxdbmgr check"
Bare Metal restore:
1) Build server
2) Install DB - same DB as old
3) Install NetXMS - same version as old
4) Restore config
5) Restore DB
6) Check data consistency: "nxdbmgr check"
All good!!
Is this what others are doing?
Just the DB? and if so, is there a standard command to use - or a sequence of commands?
The closest I found was this
https://www.netxms.org/forum/installation/netxms-server-backup-and-restore-process/
So for my postgres on Windows, it would be
1) Backup netxmsd.conf / nxagentd.conf
2) Backup /netxms (keep everything - much easier)
3) Backup database (pg_dump)
4) Backup copy of DB and NetXMS install files (for bare metal restore)
Restore procedure is:
1) Restore or recreate config
2) Restore files, if any
3) Restore database
4) Check data consistency: "nxdbmgr check"
Bare Metal restore:
1) Build server
2) Install DB - same DB as old
3) Install NetXMS - same version as old
4) Restore config
5) Restore DB
6) Check data consistency: "nxdbmgr check"
All good!!
Is this what others are doing?