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

    XO reports wrong number of backups

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    11 Posts 4 Posters 755 Views 4 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

      Hi,

      1. Please provide the commit number instead the version, it's more relevant 🙂 (as per https://xen-orchestra.com/docs/community.html#current-version)
      2. Double check you are on latest commit after rebuild to confirm you have the same behavior
      3. If it's the case, please provide some screenshots so you we can easily understand 🙂

      Thanks!

      1 Reply Last reply Reply Quote 0
      • codesmakerC Offline
        codesmaker
        last edited by codesmaker

        Hi Olivier,

        Thanks for the quick reply!

        I'm currently on the latest commit (81abc091d) and I updated from (c52e0a553). I can still see the same issue.

        XO-1.jpg XO-2.jpg XO-3.jpg

        As you can see in the second screenshot, there are 6 backups while when I check the available backups on disk, there are only 2 dated November 5 and October 29.

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

          Can you show us what do you have on the disk? (eg a simple tree -h on the Xo backup folder will do the trick.)

          1 Reply Last reply Reply Quote 0
          • codesmakerC Offline
            codesmaker
            last edited by

            Here you are:

            XO-4.jpg

            julien-fJ 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 @codesmaker
                last edited by

                @codesmaker Can you try to delete the cache.json.gz files to see if that helps?

                If it does, that may be due to an old bug, tell me in case the issue reappears.

                V 1 Reply Last reply Reply Quote 0
                • V Offline
                  vmpr @julien-f
                  last edited by

                  @julien-f that also fixed my issue, cheers!

                  1 Reply Last reply Reply Quote 1
                  • olivierlambertO olivierlambert marked this topic as a question on
                  • olivierlambertO olivierlambert has marked this topic as solved on
                  • codesmakerC Offline
                    codesmaker
                    last edited by

                    @julien-f After two months of testing, I can confirm that this issue persists.

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

                      @codesmaker I'm really skeptical that this issue still exists, please update to latest version and delete cache.json.gz to force refresh for VMs without a recent backup run.

                      The commits that fix this issue:

                      • https://github.com/vatesfr/xen-orchestra/commit/6973928b1ac9946d5023583122d9cbde3225e6ce
                      • https://github.com/vatesfr/xen-orchestra/commit/b548514d44d83356bcce0fbdf5c013f9308f4cb5
                      0 julien-f committed to vatesfr/xen-orchestra
                      feat(backups/cleanVm): detect and fix cache inconsistencies (#6575)
                      0 julien-f committed to vatesfr/xen-orchestra
                      fix(backups): wait for cache to be updated before running cleanVm (#6580)
                      
                      Introduced by 191c12413
                      codesmakerC 1 Reply Last reply Reply Quote 0
                      • codesmakerC Offline
                        codesmaker @julien-f
                        last edited by

                        @julien-f Thanks a lot for the fast answer. I'll update to the latest version and test.

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