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

    S3 / Wasabi Backup

    Scheduled Pinned Locked Moved Xen Orchestra
    47 Posts 7 Posters 13.9k Views 2 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.
    • nraynaudN Offline
      nraynaud XCP-ng Team
      last edited by

      @klou
      thanks.

      I assume all kinds of VMs can be backed up in delta. I don't have any connection between the VM type and the remote type.

      K 1 Reply Last reply Reply Quote 0
      • K Offline
        klou @nraynaud
        last edited by

        @nraynaud

        If it helps, I'm reasonably certain that I was able to backup and upload similarly sized VMs previously without memory issues, before the 50GB+ chunking changes.

        1 Reply Last reply Reply Quote 1
        • nraynaudN Offline
          nraynaud XCP-ng Team
          last edited by

          On it!

          1 Reply Last reply Reply Quote 0
          • nraynaudN Offline
            nraynaud XCP-ng Team
            last edited by

            @klou, I see no obvious error, and I can't reproduce to really hunt it.

            Since you're building from the sources, would you mind running a special test branch for me in a few days?

            Right now, my working copy is tied up with something else that I would like to finish first.

            Thanks,
            Nicolas.

            K 1 Reply Last reply Reply Quote 0
            • K Offline
              klou @nraynaud
              last edited by

              @nraynaud Sorry about dropping this for a while. If you want to pick it back up, let me know and I'll try to test changes as well.

              1 Reply Last reply Reply Quote 0
              • D Offline
                DodgeThis
                last edited by DodgeThis

                I'm getting this errors on big vms:

                {
                  "data": {
                    "mode": "full",
                    "reportWhen": "failure"
                  },
                  "id": "1605563266089",
                  "jobId": "abfed8aa-b445-4c94-be5c-b6ed723792b8",
                  "jobName": "amazonteste",
                  "message": "backup",
                  "scheduleId": "44840d13-2302-45ae-9460-53ed451183ed",
                  "start": 1605563266089,
                  "status": "failure",
                  "infos": [
                    {
                      "data": {
                        "vms": [
                          "68b2bf30-8693-8419-20ab-18162d4042aa",
                          "fbea839a-72ac-ca3d-51e5-d4248e363d72",
                          "b24d8810-b7f5-5576-af97-6a6d5f9a8730"
                        ]
                      },
                      "message": "vms"
                    }
                  ],
                  "tasks": [
                    {
                      "data": {
                        "type": "VM",
                        "id": "68b2bf30-8693-8419-20ab-18162d4042aa"
                      },
                      "id": "1605563266118:0",
                      "message": "Starting backup of TEST. (abfed8aa-b445-4c94-be5c-b6ed723792b8)",
                      "start": 1605563266118,
                      "status": "failure",
                      "tasks": [
                        {
                          "id": "1605563266136",
                          "message": "snapshot",
                          "start": 1605563266136,
                          "status": "success",
                          "end": 1605563271882,
                          "result": "a700da10-a281-a124-8283-970aa7675d39"
                        },
                        {
                          "id": "1605563271885",
                          "message": "add metadata to snapshot",
                          "start": 1605563271885,
                          "status": "success",
                          "end": 1605563271899
                        },
                        {
                          "id": "1605563272085",
                          "message": "waiting for uptodate snapshot record",
                          "start": 1605563272085,
                          "status": "success",
                          "end": 1605563272287
                        },
                        {
                          "id": "1605563272340",
                          "message": "start VM export",
                          "start": 1605563272340,
                          "status": "success",
                          "end": 1605563272362
                        },
                        {
                          "data": {
                            "id": "7847ac06-d46f-476a-84c1-608f9302cb67",
                            "type": "remote"
                          },
                          "id": "1605563272372",
                          "message": "export",
                          "start": 1605563272372,
                          "status": "failure",
                          "tasks": [
                            {
                              "id": "1605563273029",
                              "message": "transfer",
                              "start": 1605563273029,
                              "status": "failure",
                              "end": 1605563715136,
                              "result": {
                                "message": "write EPIPE",
                                "errno": "EPIPE",
                                "code": "NetworkingError",
                                "syscall": "write",
                                "region": "eu-central-1",
                                "hostname": "s3.eu-central-1.amazonaws.com",
                                "retryable": true,
                                "time": "2020-11-16T21:55:08.319Z",
                                "name": "NetworkingError",
                                "stack": "Error: write EPIPE\n    at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:92:16)"
                              }
                            }
                          ],
                          "end": 1605563715348,
                          "result": {
                            "message": "write EPIPE",
                            "errno": "EPIPE",
                            "code": "NetworkingError",
                            "syscall": "write",
                            "region": "eu-central-1",
                            "hostname": "s3.eu-central-1.amazonaws.com",
                            "retryable": true,
                            "time": "2020-11-16T21:55:08.319Z",
                            "name": "NetworkingError",
                            "stack": "Error: write EPIPE\n    at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:92:16)"
                          }
                        },
                        {
                          "id": "1605563717917",
                          "message": "set snapshot.other_config[xo:backup:exported]",
                          "start": 1605563717917,
                          "status": "success",
                          "end": 1605563721061
                        }
                      ],
                      "end": 1605564045507
                    },
                    {
                      "data": {
                        "type": "VM",
                        "id": "fbea839a-72ac-ca3d-51e5-d4248e363d72"
                      },
                      "id": "1605564045510",
                      "message": "Starting backup of DESKTOPGREEN. (abfed8aa-b445-4c94-be5c-b6ed723792b8)",
                      "start": 1605564045510,
                      "status": "failure",
                      "tasks": [
                        {
                          "id": "1605564045533",
                          "message": "snapshot",
                          "start": 1605564045533,
                          "status": "success",
                          "end": 1605564047224,
                          "result": "3e5fb1b5-c93e-f242-95a2-90757b38f727"
                        },
                        {
                          "id": "1605564047229",
                          "message": "add metadata to snapshot",
                          "start": 1605564047229,
                          "status": "success",
                          "end": 1605564047240
                        },
                        {
                          "id": "1605564047429",
                          "message": "waiting for uptodate snapshot record",
                          "start": 1605564047429,
                          "status": "success",
                          "end": 1605564047631
                        },
                        {
                          "id": "1605564047634",
                          "message": "start VM export",
                          "start": 1605564047634,
                          "status": "success",
                          "end": 1605564047652
                        },
                        {
                          "data": {
                            "id": "7847ac06-d46f-476a-84c1-608f9302cb67",
                            "type": "remote"
                          },
                          "id": "1605564047657",
                          "message": "export",
                          "start": 1605564047657,
                          "status": "failure",
                          "tasks": [
                            {
                              "id": "1605564048778",
                              "message": "transfer",
                              "start": 1605564048778,
                              "status": "failure",
                              "end": 1605564534530,
                              "result": {
                                "message": "write EPIPE",
                                "errno": "EPIPE",
                                "code": "NetworkingError",
                                "syscall": "write",
                                "region": "eu-central-1",
                                "hostname": "s3.eu-central-1.amazonaws.com",
                                "retryable": true,
                                "time": "2020-11-16T22:08:35.991Z",
                                "name": "NetworkingError",
                                "stack": "Error: write EPIPE\n    at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:92:16)"
                              }
                            }
                          ],
                          "end": 1605564534693,
                          "result": {
                            "message": "write EPIPE",
                            "errno": "EPIPE",
                            "code": "NetworkingError",
                            "syscall": "write",
                            "region": "eu-central-1",
                            "hostname": "s3.eu-central-1.amazonaws.com",
                            "retryable": true,
                            "time": "2020-11-16T22:08:35.991Z",
                            "name": "NetworkingError",
                            "stack": "Error: write EPIPE\n    at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:92:16)"
                          }
                        },
                        {
                          "id": "1605564535540",
                          "message": "set snapshot.other_config[xo:backup:exported]",
                          "start": 1605564535540,
                          "status": "success",
                          "end": 1605564538346
                        }
                      ],
                      "end": 1605571759789
                    },
                    {
                      "data": {
                        "type": "VM",
                        "id": "b24d8810-b7f5-5576-af97-6a6d5f9a8730"
                      },
                      "id": "1605571759883",
                      "message": "Starting backup of grayLog. (abfed8aa-b445-4c94-be5c-b6ed723792b8)",
                      "start": 1605571759883,
                      "status": "failure",
                      "tasks": [
                        {
                          "id": "1605571759912",
                          "message": "snapshot",
                          "start": 1605571759912,
                          "status": "success",
                          "end": 1605571773047,
                          "result": "600bf528-8c1d-5035-1876-615e1dd89fea"
                        },
                        {
                          "id": "1605571773051",
                          "message": "add metadata to snapshot",
                          "start": 1605571773051,
                          "status": "success",
                          "end": 1605571773081
                        },
                        {
                          "id": "1605571773391",
                          "message": "waiting for uptodate snapshot record",
                          "start": 1605571773391,
                          "status": "success",
                          "end": 1605571773601
                        },
                        {
                          "id": "1605571773603",
                          "message": "start VM export",
                          "start": 1605571773603,
                          "status": "success",
                          "end": 1605571773687
                        },
                        {
                          "data": {
                            "id": "7847ac06-d46f-476a-84c1-608f9302cb67",
                            "type": "remote"
                          },
                          "id": "1605571773719",
                          "message": "export",
                          "start": 1605571773719,
                          "status": "failure",
                          "tasks": [
                            {
                              "id": "1605571774218",
                              "message": "transfer",
                              "start": 1605571774218,
                              "status": "failure",
                              "end": 1605572239807,
                              "result": {
                                "message": "write EPIPE",
                                "errno": "EPIPE",
                                "code": "NetworkingError",
                                "syscall": "write",
                                "region": "eu-central-1",
                                "hostname": "s3.eu-central-1.amazonaws.com",
                                "retryable": true,
                                "time": "2020-11-17T00:17:01.143Z",
                                "name": "NetworkingError",
                                "stack": "Error: write EPIPE\n    at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:92:16)"
                              }
                            }
                          ],
                          "end": 1605572239942,
                          "result": {
                            "message": "write EPIPE",
                            "errno": "EPIPE",
                            "code": "NetworkingError",
                            "syscall": "write",
                            "region": "eu-central-1",
                            "hostname": "s3.eu-central-1.amazonaws.com",
                            "retryable": true,
                            "time": "2020-11-17T00:17:01.143Z",
                            "name": "NetworkingError",
                            "stack": "Error: write EPIPE\n    at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:92:16)"
                          }
                        },
                        {
                          "id": "1605572242195",
                          "message": "set snapshot.other_config[xo:backup:exported]",
                          "start": 1605572242195,
                          "status": "success",
                          "end": 1605572246834
                        }
                      ],
                      "end": 1605572705448
                    }
                  ],
                  "end": 1605572705499
                }
                

                also delta backup have the same problem

                1 Reply Last reply Reply Quote 0
                • C Offline
                  cdbessig
                  last edited by

                  @nraynaud on my env I received the following error:

                  The request signature we calculated does not match the signature you provided. Check your key and signing method.
                  
                  nraynaudN 1 Reply Last reply Reply Quote 0
                  • nraynaudN Offline
                    nraynaud XCP-ng Team @cdbessig
                    last edited by

                    @cdbessig I fixed an error like that in version 5.51.1 (2020-10-14), are you using a version more recent than that?

                    Nicolas.

                    C 1 Reply Last reply Reply Quote 0
                    • C Offline
                      cdbessig @nraynaud
                      last edited by

                      @nraynaud xo-server 5.66.1 xo-web 5.69.0

                      DanpD 1 Reply Last reply Reply Quote 0
                      • DanpD Online
                        Danp Pro Support Team @cdbessig
                        last edited by

                        @cdbessig That's release is from 2020-09-04, so you should upgrade to take advantage of the latest fixes.

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

                          It's also explained very clearly here: https://xen-orchestra.com/docs/community.html (in the first point)

                          Always update to latest code available before reporting a problem 🙂

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