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

    Restore error

    Scheduled Pinned Locked Moved Backup
    5 Posts 2 Posters 154 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.
    • Itayal59I Offline
      Itayal59
      last edited by

      Hello,

      I am currently experiencing an issue while attempting to restore a backup using Xen Orchestra. Unfortunately, the restoration process fails, and I receive an error message.

      backupNg.checkBackup
      {
        "id": "cda2f118-d048-4c4a-a061-86e3c22954ca//xo-vm-backups/7158b360-fd4b-1c9d-6d1c-c7a6584e5eab/20240815T195433Z.json",
        "settings": {
          "mapVdisSrs": {}
        },
        "sr": "cd83d953-bc6d-90eb-2857-b429027da139"
      }
      {
        "generatedMessage": true,
        "code": "ERR_ASSERTION",
        "actual": "8d1c3759-e958-465f-a018-87afc098642f",
        "expected": "fed97090-e59f-43e4-adad-3bb8ba8716f2",
        "operator": "strictEqual",
        "message": "Expected values to be strictly equal:
      + actual - expected
      
      + '8d1c3759-e958-465f-a018-87afc098642f'
      - 'fed97090-e59f-43e4-adad-3bb8ba8716f2'",
        "name": "AssertionError",
        "stack": "AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
      + actual - expected
      
      + '8d1c3759-e958-465f-a018-87afc098642f'
      - 'fed97090-e59f-43e4-adad-3bb8ba8716f2'
          at VhdSynthetic.readHeaderAndFooter (/home/xen-orchestra/packages/vhd-lib/Vhd/VhdSynthetic.js:85:14)
          at Function.fromVhdChain (/home/xen-orchestra/packages/vhd-lib/Vhd/VhdSynthetic.js:138:3)"
      }
      

      Could you please assist me in resolving this issue?

      Thank you in advance for your support.

      Best regards

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

        Hi,

        Are you using XOA or XO from sources? Which version (XOA) or commit (XO source)?

        Dan

        Itayal59I 1 Reply Last reply Reply Quote 0
        • Itayal59I Offline
          Itayal59 @Danp
          last edited by

          @Danp Hi Dan,

          Thanks for your reply.

          I use XO.
          Xen Orchestra, commit d36e1
          Master, commit da84a

          Itayal

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

            @Itayal59 said in Restore error:

            Xen Orchestra, commit d36e1

            I couldn't locate this commit. Do you when this is from?

            Either way, you should update to the latest commit and then retest.

            Itayal59I 1 Reply Last reply Reply Quote 1
            • Itayal59I Offline
              Itayal59 @Danp
              last edited by

              @Danp Hi,

              I just updated the commit via a git pull and a yarn build. Here is the commit version: 'Xen Orchestra, commit da84a'. I tried to restore the VMs again, but I still encounter the same error.

              Expected values to be strictly equal:
              + actual - expected
              
              + '8d1c3759-e958-465f-a018-87afc098642f'
              - 'fed97090-e59f-43e4-adad-3bb8ba8716f2'
              

              Knowing that I have the VHDs in my possession, is it possible to restore the full .VHD with the Deltas? I tried importing the full VHD via the web browser import, but after 20 minutes, the loading gets canceled. Is it possible to do this via the CLI? If you have any documentation on this, I'd appreciate it

              Thank you very much.

              Itayal

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