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

    Backup Info under VM tab in v6 never loads...

    Scheduled Pinned Locked Moved Backup
    6 Posts 3 Posters 41 Views 3 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.
    • A Online
      acebmxer
      last edited by

      Not sure if issue with my install script or not.. Wanted to check if others have similar issue..

      When viewing backup info on a specific vm it never loads see pic...

      Master, commit 6814f - installed.

      Screenshot 2026-03-27 102307.png

      When viewing at the pool level it loads just fine...

      Screenshot 2026-03-27 102533.png

      P MathieuRAM 2 Replies Last reply Reply Quote 0
      • P Offline
        ph7 @acebmxer
        last edited by

        @acebmxer Same here on 4bbfa
        3 VMs with CR and sequence
        Screenshot 2026-03-27 at 16-34-43 Xen Orchestra.png

        But 1 with only sequence, no CR
        Screenshot 2026-03-27 at 16-36-59 Xen Orchestra.png

        1 Reply Last reply Reply Quote 0
        • MathieuRAM Offline
          MathieuRA Vates 🪐 XO Team @acebmxer
          last edited by

          Hello.

          Could you please run the request GET /rest/v0/vms/<your-vm-id>/dashboard and check if the endpoint is working?

          A 1 Reply Last reply Reply Quote 0
          • A Online
            acebmxer @MathieuRA
            last edited by

            @MathieuRA said:

            GET /rest/v0/vms/<your-vm-id>/dashboard

            GET /rest/v0/vms/138538a8-ef52-4d0a-4433-5ebb31d/dashboard
            Command 'GET' not found, but can be installed with:
            sudo apt install libwww-perl
            
            (😈xo-ce)-[~]
            └─$ GET /rest/v0/vms/138538a8-ef52-4d0a-4433-5ebb31d/dashboard
                                                                                                                                                       
            ┌──(😈xo-ce)-[~]
            └─$ sudo GET /rest/v0/vms/138538a8-ef52-4d0a-4433-5ebb31d/dashboard
                                                                                                                                                       
            ┌──(😈xo-ce)-[~]
            └─$ 
            

            after installing libwww-perl
            Neither produced an output...

            MathieuRAM 1 Reply Last reply Reply Quote 0
            • MathieuRAM Offline
              MathieuRA Vates 🪐 XO Team @acebmxer
              last edited by

              @acebmxer

              Sorry, I may not have been clear.

              /rest/v0/vms/:id/dashboard is an endpoint on the XO REST API.

              Therefore, you need to make an HTTP GET request to <xo-url>/rest/v0/vms/<your-vm-id>/dashboard.

              You can do this directly with your browser, or from Swagger if you prefer.
              (<xo-url>/rest/v0/docs)

              A 1 Reply Last reply Reply Quote 0
              • A Online
                acebmxer @MathieuRA
                last edited by

                @MathieuRA

                Think this is what you were looking for?

                I tried both with ndjson boolean set to false and true same output...

                Screenshot 2026-03-27 124309.png

                79100bc0-ad51-48df-9e44-f6bbd912f44d-image.jpeg

                {
                  "quickInfo": {
                    "id": "613f541c-4bed-fc77-7ca8-2db6b68f079c",
                    "power_state": "Halted",
                    "uuid": "613f541c-4bed-fc77-7ca8-2db6b68f079c",
                    "name_description": "some-random-description",
                    "CPUs": {
                      "number": 1
                    },
                    "mainIpAddress": "10.1.6.166",
                    "os_version": {
                      "name": "Alpine Linux v3.21"
                    },
                    "memory": {
                      "size": 536870912
                    },
                    "creation": {
                      "date": "2025-10-23T14:12:05.689Z",
                      "user": "e531b8c9-3876-4ed9-8fd2-0476d5f825c9"
                    },
                    "$pool": "b7569d99-30f8-178a-7d94-801de3e29b5b",
                    "virtualizationMode": "hvm",
                    "tags": [],
                    "host": "b61a5c92-700e-4966-a13b-00633f03eea8",
                    "pvDriversDetected": false,
                    "startTime": null
                  },
                  "alarms": [],
                  "backupsInfo": {
                    "lastRun": [
                      {
                        "backupJobId": "399f368a-a550-4cdf-9c5b-84b68912b748",
                        "timestamp": 1762124447136,
                        "status": "success"
                      },
                      {
                        "backupJobId": "399f368a-a550-4cdf-9c5b-84b68912b748",
                        "timestamp": 1762038039074,
                        "status": "success"
                      },
                      {
                        "backupJobId": "399f368a-a550-4cdf-9c5b-84b68912b748",
                        "timestamp": 1761951645862,
                        "status": "success"
                      }
                    ],
                    "vmProtected": true,
                    "replication": {
                      "id": "8c2b7a25-70b9-4a1c-d6e0-9cce86d3171a",
                      "timestamp": 1761302770000,
                      "sr": "4cb0d74e-a7c1-0b7d-46e3-09382c012abb"
                    },
                    "backupArchives": [
                      {
                        "id": "1af95910-01b4-4e87-9c2f-d895cafe0776//xo-vm-backups/613f541c-4bed-fc77-7ca8-2db6b68f079c/20251102T230026Z.json",
                        "timestamp": 1762124426346,
                        "backupRepository": "1af95910-01b4-4e87-9c2f-d895cafe0776",
                        "size": 0
                      },
                      {
                        "id": "1af95910-01b4-4e87-9c2f-d895cafe0776//xo-vm-backups/613f541c-4bed-fc77-7ca8-2db6b68f079c/20251101T230026Z.json",
                        "timestamp": 1762038026319,
                        "backupRepository": "1af95910-01b4-4e87-9c2f-d895cafe0776",
                        "size": 0
                      },
                      {
                        "id": "1af95910-01b4-4e87-9c2f-d895cafe0776//xo-vm-backups/613f541c-4bed-fc77-7ca8-2db6b68f079c/20251031T230025Z.json",
                        "timestamp": 1761951625256,
                        "backupRepository": "1af95910-01b4-4e87-9c2f-d895cafe0776",
                        "size": 0
                      }
                    ]
                  }
                }
                No links
                400	
                Bad request
                
                1 Reply Last reply Reply Quote 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
                • First post
                  Last post