Экспорт базы данных
-
Добрый, Всем, день!
Есть следующая проблема, при экспорте БД (MS SQL 2005) вылетает со следующей ошибкой:
C:\NetXMS\bin>nxdbmgr.exe export c:\NetXMS\exporteddb -I
NetXMS Database Manager Version 0.2.31Configuration file OK
Exporting table config
Exporting table config_clob
Exporting table users
Exporting table user_groups
Exporting table user_group_members
Exporting table user_profiles
Exporting table object_properties
ERROR: SQLite query failed: near "0.000": syntax error
Query: INSERT INTO object_properties (object_id,name,status,is_deleted,last_modified,inherit_access_rights,status_calc_alg,status_pr
op_alg,status_fixed_val,status_shift,status_translation,status_single_threshold,status_thresholds,comments,is_system,location_type,lati
tude,longitude) VALUES ('1','Entire Network','4','0','1265308507','1','0','0','1','0','01020304','75','503C2814',' ','0','0','N 00┬░ 00
' 0.000"','E 00┬░ 00' 0.000"')
Database export failed.Есть у кого либо идеи в чём проблема?
Спасибо!
-
Добрый день!
Это баг в nxdbmgr. Он исправлен в 1.0.0-rc1 - попробуйте использовать nxdbmgr из новой версии.
Виктор
-
-
Добрый день!
Решил после upgrade с 0.2.31 на версию 1.0.0 попробовать экспорт БД. Теперь новая ошибка:
C:\NetXMS\bin>nxdbmgr.exe export c:\database.sql
NetXMS Database Manager Version 1.0.0ERROR: Schema version mismatch between dbschema_sqlite.sql and your database. Please check that NetXMS server installed
correctly.
Database export failed.Где рыть, что смотреть?
-
Dobrij den'!
Poprobujte zamenit' fail dbschema_sqlite.sql (nahoditsja v C:\NetXMS\lib\sql) na prilozennij.
Viktor
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login