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

    Question about Continuous Replication/ Backups always doing Full Backups

    Scheduled Pinned Locked Moved Backup
    14 Posts 5 Posters 269 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.
    • A Online
      Andrew Top contributor @florent
      last edited by

      @florent I too am having issues with this... on some VMs...

      Running XCP 8.3 (latest March update), XO (master 0286f).

      I have a simple small CR job that replicates 3 VMs between two pools. Two VMs got stuck at Full, and one works correctly. CBT/NBD 1 enabled. Purge disabled.

      It's also leaving snapshots each time. No CD in the drive this time.

      I'll have to update XO and try again.

      1 Reply Last reply Reply Quote 0
      • K Offline
        Kraken89 @florent
        last edited by

        @florent Hello!

        The VMs are replicating within the same pool. The pool only has 2 hosts and all is taking place within the same pool.

        All the VMs currently live on host 1 with the local storage. The VMs are set to replicate to the local storage on host 2.

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

          since I had my problem fixed in
          https://xcp-ng.org/forum/topic/11969/timestamp-lost-in-continuous-replication/22
          I tested my f5468 commit similar to Your setup with 2 Hosts in the same pool and local storage, ran CR with retention of 2 from 1 host to the other and it worked as expected.
          One full and then delta.

          1 Reply Last reply Reply Quote 0
          • A Online
            Andrew Top contributor @florent
            last edited by

            @florent I updated XO to master 60ba5, and still having the issue.

            I don't see any errors in the backup log. It just says "isFull": true for the ones stuck on full backups.

            The XO log just reports:

            Mar 24 16:26:47 xo1 xo-server[21199]: 2026-03-24T20:26:47.315Z xo:backups:worker INFO starting backup
            Mar 24 16:26:52 xo1 xo-server[21199]: 2026-03-24T20:26:52.359Z xo:xapi:xapi-disks INFO export through vhd
            Mar 24 16:26:54 xo1 xo-server[21199]: 2026-03-24T20:26:54.410Z xo:xapi:xapi-disks INFO export through vhd
            Mar 24 16:29:22 xo1 xo-server[21199]: 2026-03-24T20:29:22.250Z xo:backups:worker INFO backup has ended
            

            Note, it reports two export through vhd and does two full backups and one delta.

            1 Reply Last reply Reply Quote 0
            • K Offline
              Kraken89 @florent
              last edited by

              @florent Hello,

              So I am not sure what changed but it looks like the continuous replication should be working as intending now. I did reconfigure the schedule a last time before I posted last and let it run. I can see where it was still doing the full backups and where I stopped it by restarting the XOA. It seems then after the reboot and saving the schedule again it appears to working.

              4d6b6de0-2b36-40db-b281-5db6f309224f-image.jpeg

              It is now showing delta backups and the transfers are much smaller.

              e3ccd9ec-9b64-43cc-b82d-c996e3cca264-image.jpeg

              I wish I had a better idea what would have caused it to work but I will continue to monitor it. I would say for now my issue is resolved.

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

                @Kraken89 I will look into the transition from the previous system to the new one

                maybe that's the key

                T 1 Reply Last reply Reply Quote 0
                • T Offline
                  tsukraw @florent
                  last edited by

                  I thought I was having a similar issue but mine might be slightly different.

                  This is the first time I am trying to configure CR so it's very possible I am not setting things correctly. I have two separate pools currently.

                  When I run the replication job, it shows type: Delta
                  However, the size is the full size the VM each time which is 200GB.

                  Since it is a delta shouldn't the size just be showing the change data?

                  The two pools are physically at different sites, so the throughput is not optimal, but i never expected a delta run to take 8 hours. the full took the same 8 hours.

                  d25bb348-ce3c-4deb-8de8-81bc5841e46c-image.jpeg

                  A 1 Reply Last reply Reply Quote 0
                  • A Online
                    Andrew Top contributor @tsukraw
                    last edited by

                    @tsukraw It's running a full, not a delta. Do you have Use NBD enabled?

                    T 1 Reply Last reply Reply Quote 0
                    • T Offline
                      tsukraw @Andrew
                      last edited by tsukraw

                      @Andrew

                      But at the bottom it has Type: Delta
                      Which I took as running a delta?

                      Yes, I have NBD enabled. Should I try disabling it?
                      Here a side-by-side comparison.

                      I do see the message at the top saying "backup fell back to a full"
                      Does this imply that the delta function didn't work, and it is truly a full again?

                      00caacd6-8d1c-4f37-85e2-5a8d5b692eae-image.jpeg

                      A 1 Reply Last reply Reply Quote 0
                      • T Offline
                        tsukraw
                        last edited by

                        @kraken89
                        Sorry, didn't mean to hijack your post 🙂

                        1 Reply Last reply Reply Quote 0
                        • A Online
                          Andrew Top contributor @tsukraw
                          last edited by

                          @tsukraw The type delta at the bottom is a known bug... Do you have NBD Connection enabled on a network interface (Check the pool network)?

                          T 1 Reply Last reply Reply Quote 0
                          • T Offline
                            tsukraw @Andrew
                            last edited by

                            @Andrew

                            Thank you Andrew 🙂

                            Such a noob here when it comes to XCP, learning as we go.
                            I couldn't find any guide out there for configuration of CR so was shooting from the hp on how it worked.

                            You were correct that NBD Connection was not setup on the Pool network.

                            Since you seem to be an expert in this CR field. Mind if I ask a question.
                            For the Full backup interval what do you typically set this to?
                            In our case we have around 4TB of data (Approx 25VMs) we are going to have on CR over a 1Gbps link between locations, so we can't be doing full copies to often.

                            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