XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Monitor Backups - Last backup for VM

    Scheduled Pinned Locked Moved Xen Orchestra
    14 Posts 4 Posters 1.4k Views 4 Watching
    Loading More Posts
    • 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.
    • K Offline
      KPS Top contributor @olivierlambert
      last edited by

      @olivierlambert
      We are using PRTG as monitoring system. Our "old" backup-system is connected through the API to:

      • List VMs that do not have the "nobackup-flag"
      • Check if backup with age <24h is available
      • Check if offsite-backup with age <48h is available

      --> Sends number of VMs with and without backups as XML-output

      julien-fJ 1 Reply Last reply Reply Quote 0
      • julien-fJ Offline
        julien-f Vates 🪐 Co-Founder XO Team @KPS
        last edited by

        @KPS Have you checked our Nagios plugin?

        It got some major improvements last release (cf 5.77 blogpost).

        1 Reply Last reply Reply Quote 0
        • olivierlambertO Offline
          olivierlambert Vates 🪐 Co-Founder CEO
          last edited by

          If I get it correctly, @KPS doesn't use Nagios

          1 Reply Last reply Reply Quote 0
          • M Offline
            miller1
            last edited by

            You can use Vinchin Backup & Recovery to monitor VM backup job in real time. There is a graphical interface presenting the status of the whole backup system.

            K olivierlambertO 2 Replies Last reply Reply Quote 0
            • K Offline
              KPS Top contributor @miller1
              last edited by

              @miller1
              Vinchin is looking great at the first look and offers some great features like LAN-free-backup, that can be A LOT faster, than the "classical" approach and Instant-Recover.

              But in other points it is VERY limited and IMHO not enterprise-ready:

              • No smart-backups! You have to define manually which VM is backed up in which job - not by Tag, name, state, etc.
              • Absolutely NO API, no Syslog, no real reporting - only basic mail notifications
              1 Reply Last reply Reply Quote 0
              • olivierlambertO Offline
                olivierlambert Vates 🪐 Co-Founder CEO
                last edited by

                @julien-f what alternative do we have (even CLI) to get what @KPS is asking?

                julien-fJ 1 Reply Last reply Reply Quote 0
                • olivierlambertO Offline
                  olivierlambert Vates 🪐 Co-Founder CEO @miller1
                  last edited by

                  @miller1 Just first post to talk specifically about Vinchin 🤔 This looks a bit spammy. If you want to promote it, it would be better to be more transparent 😉

                  1 Reply Last reply Reply Quote 0
                  • julien-fJ Offline
                    julien-f Vates 🪐 Co-Founder XO Team @olivierlambert
                    last edited by

                    @olivierlambert

                    > xo-cli --list-commands backupNg.getLogs
                    backupNg.getLogs [after=<number|string>] [before=<number|string>] [limit=<number>] *=<unknown type>
                    
                    1 Reply Last reply Reply Quote 1
                    • olivierlambertO Offline
                      olivierlambert Vates 🪐 Co-Founder CEO
                      last edited by

                      I suppose that answer your requirement @KPS ?

                      K 1 Reply Last reply Reply Quote 0
                      • K Offline
                        KPS Top contributor @olivierlambert
                        last edited by

                        @olivierlambert
                        I will try to build something with that base. The problem is, that I first need a list of the VMs to check for every VM the logs about the last successful backup.

                        julien-fJ 1 Reply Last reply Reply Quote 0
                        • julien-fJ Offline
                          julien-f Vates 🪐 Co-Founder XO Team @KPS
                          last edited by

                          @KPS You can use xo-cli --list-objects type=VM.

                          Also you should only get the backup logs once and join with the VM list, because backupNg.getLogs is heavy.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post