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

    Backup success or failure ?

    Scheduled Pinned Locked Moved Backup
    1 Posts 1 Posters 167 Views 1 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.
    • P Offline
      peo
      last edited by

      I'm continuing to investigate a persistent (but random) backup issue I've encountered during my use of xcp-ng. I’ve previously raised this as part of other backup-related threads. The backup reports for some of my jobs continues to indicate a failure (specifically for "overall status" and "remote status"), even though the backup transfer itself appears to complete successfully.

      74b028a4-d5ed-49be-8cad-93d83e1c8886-image.png

      The email backup report:
      20e4158c-01a8-4a94-bad3-2c99663f7be9-image.png
      bcb18554-3539-4086-a0ad-610760ea0012-image.png

      When testing the remote from the settings, it is working without any problem.

      To provide more context, I recently performed a restore health check and a full restore to a new VM after the original machine received an OS and Docker update. This involved reverting the machine back to its pre-update state. This restore process was successful. Notably, when I used xo-cli to re-run the backup on this machine (from a sequence of 6 machines, all of which failed with ”Error: invalid HTTP header in response body"), it was the only one reporting this kind of error.

      I’ve attached the full JSON log for this job.

      {
        "data": {
          "mode": "delta",
          "reportWhen": "failure"
        },
        "id": "1748358247453",
        "jobId": "b9142eba-4954-414a-bbc0-180b071a6490",
        "jobName": "Docker",
        "message": "backup",
        "scheduleId": "148eb0e1-1a22-4966-9143-ce53849875de",
        "start": 1748358247453,
        "status": "failure",
        "infos": [
          {
            "data": {
              "vms": [
                "2af0192f-3cb3-daa2-33e6-ec8f18b0cfb1"
              ]
            },
            "message": "vms"
          }
        ],
        "tasks": [
          {
            "data": {
              "type": "VM",
              "id": "2af0192f-3cb3-daa2-33e6-ec8f18b0cfb1",
              "name_label": "Docker"
            },
            "id": "1748358250243",
            "message": "backup VM",
            "start": 1748358250243,
            "status": "failure",
            "tasks": [
              {
                "id": "1748358250247",
                "message": "clean-vm",
                "start": 1748358250247,
                "status": "success",
                "end": 1748358253304,
                "result": {
                  "merge": false
                }
              },
              {
                "id": "1748358253543",
                "message": "snapshot",
                "start": 1748358253543,
                "status": "success",
                "end": 1748358263363,
                "result": "f938e63e-3d5c-517c-f487-a28e2d93d44f"
              },
              {
                "data": {
                  "id": "2b919467-704c-4e35-bac9-2d6a43118bda",
                  "isFull": true,
                  "type": "remote"
                },
                "id": "1748358263364",
                "message": "export",
                "start": 1748358263364,
                "status": "failure",
                "tasks": [
                  {
                    "id": "1748358268282",
                    "message": "transfer",
                    "start": 1748358268282,
                    "status": "success",
                    "end": 1748358860438,
                    "result": {
                      "size": 38249955328
                    }
                  },
                  {
                    "id": "1748358884098",
                    "message": "clean-vm",
                    "start": 1748358884098,
                    "status": "failure",
                    "end": 1748358895353,
                    "result": {
                      "name": "InternalError",
                      "$fault": "client",
                      "$metadata": {
                        "httpStatusCode": 500,
                        "requestId": "074282D2C6F6946B",
                        "extendedRequestId": "MDc0MjgyRDJDNkY2OTQ2QjA3NDI4MkQyQzZGNjk0NkIwNzQyODJEMkM2RjY5NDZCMDc0MjgyRDJDNkY2OTQ2Qg==",
                        "attempts": 3,
                        "totalRetryDelay": 89
                      },
                      "Code": "InternalError",
                      "message": "Internal Error",
                      "stack": "InternalError: Internal Error\n    at throwDefaultError (/opt/xo/xo-builds/xen-orchestra-202505261454/node_modules/@smithy/smithy-client/dist-cjs/index.js:867:20)\n    at /opt/xo/xo-builds/xen-orchestra-202505261454/node_modules/@smithy/smithy-client/dist-cjs/index.js:876:5\n    at de_CommandError (/opt/xo/xo-builds/xen-orchestra-202505261454/node_modules/@aws-sdk/client-s3/dist-cjs/index.js:4952:14)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async /opt/xo/xo-builds/xen-orchestra-202505261454/node_modules/@smithy/middleware-serde/dist-cjs/index.js:35:20\n    at async /opt/xo/xo-builds/xen-orchestra-202505261454/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js:484:18\n    at async /opt/xo/xo-builds/xen-orchestra-202505261454/node_modules/@smithy/middleware-retry/dist-cjs/index.js:320:38\n    at async /opt/xo/xo-builds/xen-orchestra-202505261454/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js:110:22\n    at async /opt/xo/xo-builds/xen-orchestra-202505261454/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js:137:14\n    at async /opt/xo/xo-builds/xen-orchestra-202505261454/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js:33:22"
                    }
                  }
                ],
                "end": 1748358895354
              }
            ],
            "infos": [
              {
                "message": "will delete snapshot data"
              },
              {
                "data": {
                  "vdiRef": "OpaqueRef:f5151a82-9e27-e821-fb17-067c7c1de856"
                },
                "message": "Snapshot data has been deleted"
              },
              {
                "data": {
                  "vdiRef": "OpaqueRef:d8613b53-fe2b-014a-da5b-db943ec55b67"
                },
                "message": "Snapshot data has been deleted"
              }
            ],
            "end": 1748358895355
          }
        ],
        "end": 1748358895355
      }
      
      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