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. NetXMS backups - what is the general consensus?

NetXMS backups - what is the general consensus?

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 34.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.
  • P
    P
    paul
    wrote on last edited by
    #1

    Now that I have enough things added that I would not want to have to start again - what is the consensus on backups?

    Just the DB? and if so, is there a standard command to use - or a sequence of commands?

    The closest I found was this
    https://www.netxms.org/forum/installation/netxms-server-backup-and-restore-process/

    So for my postgres on Windows, it would be

    1. Backup netxmsd.conf / nxagentd.conf
    2. Backup /netxms (keep everything - much easier)
    3. Backup database (pg_dump)
    4. Backup copy of DB and NetXMS install files (for bare metal restore)

    Restore procedure is:

    1. Restore or recreate config
    2. Restore files, if any
    3. Restore database
    4. Check data consistency: "nxdbmgr check"

    Bare Metal restore:

    1. Build server
    2. Install DB - same DB as old
    3. Install NetXMS - same version as old
    4. Restore config
    5. Restore DB
    6. Check data consistency: "nxdbmgr check"

    All good!!

    Is this what others are doing?

    1 Reply Last reply
    0
    • T
      T
      Tursiops
      wrote on last edited by
      #2

      We are backing the entire VM up using Veeam, which worked quite well for us so far.
      As we are running Hyper-V clusters, if the host fails the VM is moved across automatically, there is no real bare metal restore.
      If needed, we could run up another host and restore the VM to that.
      And yes, part of any restore is indeed to run a database consistency check.

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

        We have Vsphere HA cluster and Commvault snapshot based backups.

        Link Preview Image
        VMware Snapshots vs Backups: What's The Difference?

        What's the difference between VMware snapshots and backups? Learn why snapshots alone are not enough to protect your data from harm in this Veeam blog post.

        favicon

        Veeam Software Official Blog (www.veeam.com)

        Unfortunately, we do not have the Commvault PostgreSQL agent which means a DIY option.

        I have pg_dump working producing compressed files in Directory format so happy enough with that. *** my daily safety net *** 

        My uncompressed version produced the same size backup as nxdbmgr export - so happy enough with that as well.

        Having a just-in-case seems like a good idea and since I will be smash testing my VM (and host) to see how "recoverable" it is - I want to make sure I really can recover it - no matter what!!

        I will start with a snapshot though after first stopping NetXMS and PG 🙂 - my ultimate fall back.

        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