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
  3. Moving NetXms to new server

Moving NetXms to new server

Scheduled Pinned Locked Moved Support
4 Posts 2 Posters 8.5k 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.
  • E
    E
    Egert143
    wrote on last edited by
    #1

    Hello

    Old test server is getting slow (was not ment to be permanent), now when i have more capable server ready i have run into problems with moving installation.
    Ā 
    I upgraded old server to latest version (2.2.6), its running under win 7 and database is mysql. I have searched around to find best way how to save db and import into new server. Currently i have tryed with "nxdbmgr export export_file" but i get following error: "ERROR: Schema version mismatch between dbschema_sqlite.sql and your database. Please check that NetXMS server installed correctly. Database export failed."

    And for future in mind, how could one automate the backup process ? At the moment it seems its requirement to shutdown server for export.

    Egert

    1 Reply Last reply
    0
    • P
      P
      paul
      wrote on last edited by
      #2

      I assume you meant that you now have a new server with 2.2.16 installed and want to export from old (WIN &) to the new server?

      If it was me, I would install same version NetXMS on new server, export from old server and import to new server. No schema issue as same schema.

      Once imported to new server - update new server from old version to 2.2.16. From memory, if there is a schema change - the command is "nxdbmgr upgrade"

      Upgrade — NetXMS Administrator Guide (7.0.0)

      favicon

      (www.netxms.org)

      I don't think you can go straight from old schema on one box to new schema on a new box which is what you appear to be doing.

      As for backup - export is different than standard database backup using MySQL backup commands.

      I successfully moved server - twice - on Windows - using same version of NetXMS each time (export import). My NetXMS updates have all been done "in place" before any moving.

      Hope this helps.

      1 Reply Last reply
      0
      • E
        E
        Egert143
        wrote on last edited by
        #3

        Not exactly, i upgraded old server to latest version and tryed to export database, but that stage already failed.

        I got database to new server with migrate tool, now its succesfully running. šŸ™‚

        Egert

        1 Reply Last reply
        0
        • P
          P
          paul
          wrote on last edited by
          #4

          Well done - good outcome. šŸ™‚

          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