Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support (Russian)
  3. Экспорт базы данных

Экспорт базы данных

Scheduled Pinned Locked Moved Support (Russian)
6 Posts 2 Posters 54.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T
    T
    troo
    wrote on last edited by
    #1

    Добрый, Всем, день!

    Есть следующая проблема, при экспорте БД (MS SQL 2005) вылетает со следующей ошибкой:

    C:\NetXMS\bin>nxdbmgr.exe export c:\NetXMS\exporteddb -I
    NetXMS Database Manager Version 0.2.31

    Configuration 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.

    Есть у кого либо идеи в чём проблема?

    Спасибо!

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      Добрый день!

      Это баг в nxdbmgr. Он исправлен в 1.0.0-rc1 - попробуйте использовать nxdbmgr из новой версии.

      Виктор

      1 Reply Last reply
      0
      • T
        T
        troo
        wrote on last edited by
        #3

        Спасибо за информацию, Виктор. Как попробую то сообщю.

        1 Reply Last reply
        0
        • T
          T
          troo
          wrote on last edited by
          #4

          Добрый день!

          Решил после upgrade с 0.2.31 на версию 1.0.0 попробовать экспорт БД. Теперь новая ошибка:

          C:\NetXMS\bin>nxdbmgr.exe export c:\database.sql
          NetXMS Database Manager Version 1.0.0

          ERROR: Schema version mismatch between dbschema_sqlite.sql and your database. Please check that NetXMS server installed
          correctly.
          Database export failed.

          Где рыть, что смотреть?

          1 Reply Last reply
          0
          • V
            V
            Victor Kirhenshtein
            wrote on last edited by
            #5

            Dobrij den'!

            Poprobujte zamenit' fail dbschema_sqlite.sql (nahoditsja v C:\NetXMS\lib\sql) na prilozennij.

            Viktor


            dbschema_sqlite.sql

            1 Reply Last reply
            0
            • T
              T
              troo
              wrote on last edited by
              #6

              Спасибо, Виктор!

              Все поехало. Выгрузка из MS SQL i загрузка в MySQL работает.

              Еще раз спасибо. 🙂

              1 Reply Last reply
              0

              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
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              Powered by NodeBB Contributors
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups