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

    How do I diagnose a missing VDI error with Mirror backups

    Scheduled Pinned Locked Moved Backup
    5 Posts 3 Posters 116 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.
    • C Offline
      CodeMercenary
      last edited by

      I have a couple Delta backups that target the same remote. Yesterday I set up a Mirror backup between that remote and another remote. When I ran the Mirror backup yesterday, it was successful.

      Today 7 of the VMs succeed in the backup but 5 of them fail with:
      Missing vdi <guid> which is a base for a delta

      Could this be caused by the fact that the target for the Mirror backup used to be a target for the Delta backup so it has files on it already. Do I need to purge the folder entirely? I thought maybe that would give it a head start and the reason I'm using the Mirror backup is because the Delta backup used to fail randomly on random VMs when backing up to both remotes.

      How would I go about diagnosing this? I assume since the guid for the vdi is missing, it's going to be hard for me to find since I can't find something that's missing. Alternatively, maybe it's because it's currently a weird mix of old Delta backups and new Mirror backups and maybe over the next few days it will purge enough old stuff that it will start working cleanly.

      Should I delete the entire remote target of the Mirror to get it started cleanly? Or, more likely, delete all backups on that Mirror for the 5 VMs that failed with this error.

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

        Question for @florent

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

          Those 5 mirror backups continued to fail over the weekend.

          The good news is that the normal delta backups succeeded over the weekend and didn't have any random failures I've been seeing.

          florentF 1 Reply Last reply Reply Quote 0
          • florentF Offline
            florent Vates 🪐 XO Team @CodeMercenary
            last edited by

            @CodeMercenary Looking for in detail would need a support tunnel
            it's probably a vdi that has been deeemed incorrect by the cleanup script. The easiest way to fix it in mirror backup is to delete the most recent backups of this VM on the target , they will be re transferred from the source.

            If your retention is the same, you can even ourge all the backups of this VM on the target and restart the mirror backup

            the mix shouldn't be an issue in itself

            C 1 Reply Last reply Reply Quote 1
            • C Offline
              CodeMercenary @florent
              last edited by CodeMercenary

              Thank you @florent. I'll do that.

              Update: It worked. 😄

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