nxdbmgr export

Started by Beda, April 26, 2013, 06:10:38 PM

Previous topic - Next topic

Beda

Hi, I know that Ithis topic was mentioned yet (for example  in https://www.netxms.org/forum/general-support/nxdbmbr-bug/msg7948/#msg7948).
Unfortunately in NetXMS 1.2.6 with PostgreSQL 9.2.4 under Windows7 after

C:\NetXMS\bin> nxdbmgr.exe export backup_file

I still get

NetXMS Database Manager Version 1.2.6
ERROR: cannot load schema file "C\lib\sql\dbschema_sqlite.sql" Database export failed.


Adding "DataDirectory = path" into netxmsd.conf doesn't help (unfortunately I don't understand how it is connected with the error and which path should I use). I can't find this issue in BugTracker, so I am afraid that I am missing something important.
Could you please tell me how should I export the database with nxdbmgr.exe correctly?

Victor Kirhenshtein

Hi!

Yes, there is a bug in nxdbmgr. I've fixed it in 1.2.7.

Best regards,
Victor