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

    Backup cancelled still marked as successful

    Scheduled Pinned Locked Moved Xen Orchestra
    4 Posts 2 Posters 256 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.
    • M Offline
      michal
      last edited by

      Hi,

      I tried to run a full backup of a large VM but I cancelled the [XO] VM export task half way (from the Tasks page). Even though the backup was not completed successfully as it exported only about 50% of VM, XO marked backup as successful. It seems like a bug in the XO, could you please help with that?

      Cheers,
      Michal

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

        Hi,

        Full backup, you mean XVAs?

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          michal @olivierlambert
          last edited by

          Yes, XVAs.

          XO tried to restore VM from that backup but failed with the error IMPORT_ERROR_PREMATURE_EOF().

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

            There's 2 reasons:

            • XAPI doesn't tell us if the transfer is complete or just cut. We just stop to receive chunks, and after a bit, we decide that's it, there's no more data to send (that's the normal behavior even when it works!)
            • XVAs are hard to validate, depending on various factors. We do a VHD validation (so for delta backup) but XVAs are another thing
            1 Reply Last reply Reply Quote 0
            • First post
              Last post