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

    Distibuted backups doesn't clean up the deltas in the BRs

    Scheduled Pinned Locked Moved Backup
    11 Posts 3 Posters 85 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.
    • P Online
      ph7
      last edited by

      I have a test job where I test the distributed backup
      They are both on a truenas SMB server
      Screenshot 2026-04-01 at 23-54-14 Backup.png

      I have it running every 20 minutes and retension set up like this:
      Screenshot 2026-04-01 at 23-51-59 Backup.png

      It's been working fine for a couple of days
      But after an update (evening of 30th I think) it started to misbehave
      Screenshot 2026-04-01 at 18-40-15 Backup.png

      The day before I had 8-9 Deltas to choose from, today it's a lot more.
      so I upgraded to a6c50 without success

      Here are the 15 oldest ones
      Screenshot 2026-04-02 at 00-05-20 Backup.png

      And the 15 newest
      Screenshot 2026-04-02 at 00-21-00 Backup.png

      And there are 109 of them. Shouldn't be more than max 11

      And the distribution thing seems odd to me
      All the snapshots on one BR and VM's on the other
      Screenshot 2026-04-02 at 00-27-21 Backup.png

      Screenshot 2026-04-02 at 00-27-41 Backup.png

      But the T1-LAB-BCK-TEST2 seems a bit empty to me
      Lab-test-2.png
      This was a log one 😰

      P 1 Reply Last reply Reply Quote 0
      • P Online
        Pilow @ph7
        last edited by

        @ph7 try to put RETENTION to 1 in the schedule, as you are using LTR parameters

        P 2 Replies Last reply Reply Quote 0
        • P Online
          ph7 @Pilow
          last edited by

          @Pilow
          According to earlier info, it should add schedule + LTR and has done so before
          But I will try to make any change just to have it to reread the conf

          P 1 Reply Last reply Reply Quote 0
          • P Online
            ph7 @ph7
            last edited by

            I found an old one
            Screenshot 2026-03-21 at 09-30-34 Backup.png

            The backups from 05:25 to 07:45 have been erased

            P 1 Reply Last reply Reply Quote 0
            • P Online
              ph7 @ph7
              last edited by

              I changed retention to 4 but no cleanup after 08:45 run
              Changing to 1 and we will see at 09:05

              P 1 Reply Last reply Reply Quote 0
              • P Online
                ph7 @ph7
                last edited by

                Still no cleanup
                Screenshot 2026-04-02 at 09-07-11 Backup.png

                Screenshot 2026-04-02 at 09-06-13 Backup.png

                P 1 Reply Last reply Reply Quote 0
                • P Offline
                  pierrebrunet Vates 🪐 XO Team @ph7
                  last edited by

                  @ph7 Hi,
                  We found the issue. It should be fixed by https://github.com/vatesfr/xen-orchestra/pull/9667
                  However, given the number of delta, it may take a while to merge the whole chain back to 2 backups.

                  fbeauchamp opened this pull request in vatesfr/xen-orchestra

                  open fix(backups): schedule reference is missing #9667

                  P 2 Replies Last reply Reply Quote 0
                  • P Online
                    ph7 @pierrebrunet
                    last edited by

                    @pierrebrunet
                    I was just about to start the update of the fix_mirror_schedule when I saw Your new master update,
                    Running the update now

                    1 Reply Last reply Reply Quote 0
                    • P Online
                      ph7 @pierrebrunet
                      last edited by

                      @pierrebrunet
                      That was quick, just a few seconds of garbage collection and
                      Screenshot 2026-04-02 at 14-58-08 Backup.png

                      Changed backup retension to 5 and wait for the 15:05 run
                      Looks like You nailed it 👍

                      P 1 Reply Last reply Reply Quote 0
                      • P Online
                        ph7 @ph7
                        last edited by ph7

                        And I was able to restore from 15:05 backup ✌
                        edit: bad spelling

                        1 Reply Last reply Reply Quote 0
                        • P Online
                          ph7 @Pilow
                          last edited by

                          @Pilow said:

                          @ph7 try to put RETENTION to 1 in the schedule, as you are using LTR parameters

                          I was running the shedule with 20 mins backup retention and it is running fine together with the LTR
                          And here is the manual I ran at 14:56 removed
                          Screenshot 2026-04-02 at 16-28-13 Backup.png

                          1 Reply Last reply Reply Quote 0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          • First post
                            Last post