NetXMS Support Forum

English Support => General Support => Topic started by: Beda on April 26, 2013, 06:10:38 PM

Title: nxdbmgr export
Post by: Beda on April 26, 2013, 06:10:38 PM
Hi, I know that Ithis topic was mentioned yet (for example  in https://www.netxms.org/forum/general-support/nxdbmbr-bug/msg7948/#msg7948 (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?
Title: Re: nxdbmgr export
Post by: Victor Kirhenshtein on April 29, 2013, 10:54:23 AM
Hi!

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

Best regards,
Victor