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

    CR tag ignored (kind of) in smart backup

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    11 Posts 4 Posters 844 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.
    • olivierlambertO Offline
      olivierlambert Vates 🪐 Co-Founder CEO
      last edited by

      Ping @julien-f

      1 Reply Last reply Reply Quote 0
      • julien-fJ Offline
        julien-f Vates 🪐 Co-Founder XO Team
        last edited by

        Indeed, this is an XO bug, incomplete VMs should be ignored by smart mode, we'll fix it in the next releas.

        K 1 Reply Last reply Reply Quote 1
        • K Offline
          karlisi @julien-f
          last edited by

          @julien-f Thanks!

          1 Reply Last reply Reply Quote 0
          • K Offline
            karlisi
            last edited by

            Thanks again, now CR works as expected!
            xo-server 5.64.0
            xo-web 5.66.0

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

              Hi,

              I experienced something similar.
              I created a CR job and made it run. It's ~6TB and takes longer that a day (so I had to edit the timeout value). On the receiving end the backup job (using smart mode) started and was also backing up the CR VM (while it was still being transferred for the first time).

              I checked the new VM and it dit NOT have the CR tag. After the job completed it had the CR tag.
              Shouldn't it get the tag as soon as the VM is created to prevent it from begin backuped yet again?

              I'm using XOCE xo-server 5.68.0 xo-web 5.72.0

              1 Reply Last reply Reply Quote 0
              • K Offline
                karlisi
                last edited by

                @julien-f said in CR tag ignored (kind of) in smart backup:

                incomplete VMs should be ignored by smart mode

                I believe, XO is using some other way to prevent backup loop.

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

                  It still backupped my VM...

                  I created a workaround now.
                  I added a new tag to the source VM (CRbackupBLOCK). This tag is transferred over directly.
                  The backup job on the receiving server has this tag blocking the VM from being backed up.

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

                    Pinging @julien-f

                    1 Reply Last reply Reply Quote 0
                    • julien-fJ Offline
                      julien-f Vates 🪐 Co-Founder XO Team
                      last edited by

                      Thank you all for your feedback, I'll fix it ASAP 🙂

                      1 Reply Last reply Reply Quote 0
                      • julien-fJ Offline
                        julien-f Vates 🪐 Co-Founder XO Team
                        last edited by

                        I've created a PR for this issue, feel free to test this branch: https://github.com/vatesfr/xen-orchestra/pull/5341

                        julien-f opened this pull request in vatesfr/xen-orchestra

                        closed fix(xo-server/{CR,DR}): add tags at VM creation #5341

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