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

    Why does the backup use snapshots and not CBT

    Scheduled Pinned Locked Moved Backup
    50 Posts 6 Posters 10.9k Views 7 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

      Yes, but the space reclaim won't be instant anyway (coalesce must happen first to save space). So the bonus isn't that great. It's better but not that a game changer.

      R 1 Reply Last reply Reply Quote 0
      • R Offline
        rtjdamen @olivierlambert
        last edited by

        @olivierlambert we are further in the process of using xcp, cbt would make a big difference, if u create a backup now on a large and heavy machine u will create a large snapshot during the day, coalesce this snapshot takes hours. If u create a snapshot at ghe start of a backup, copy only changed blocks and then delete the backup u only need to coalesce the small changes created during the backup. For large backups this is a game changer, we currently cannot move large vms to xcp as its backup is not suitable. When will this change? Is this planned?

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

          @florent started some experiments with CBT and it didn't go very well. We'll re-discuss that internally.

          R 1 Reply Last reply Reply Quote 0
          • R Offline
            rtjdamen @olivierlambert
            last edited by

            @olivierlambert the current backup method is not suitable for larger vms, if i understand correct on xenserver cbt is allready the standard.

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

              CBT is working on XCP-ng too. It's a question of implementation in Xen Orchestra.

              R 1 Reply Last reply Reply Quote 0
              • R Offline
                rtjdamen @olivierlambert
                last edited by

                @olivierlambert ok would be great if we can get this working, will be a huge improvement.

                D 1 Reply Last reply Reply Quote 0
                • D Offline
                  DustinB @rtjdamen
                  last edited by

                  @rtjdamen said in Why does the backup use snapshots and not CBT:

                  @olivierlambert ok would be great if we can get this working, will be a huge improvement.

                  I concur, I've gotten my backup window down to around an hour, but still the amount of delta in each backup nightly is like 50GB, which doesn't seem feasible given the amount of delta is actually occurring.

                  R 1 Reply Last reply Reply Quote 0
                  • R Offline
                    rtjdamen @DustinB
                    last edited by

                    Are there any 3th party backup solutions on xcp that support this?

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

                      Reading the doc is a good first step: https://docs.xcp-ng.org/project/ecosystem/

                      R 1 Reply Last reply Reply Quote 0
                      • R Offline
                        rtjdamen @olivierlambert
                        last edited by

                        @olivierlambert indeed, what about xenserver compatible backups solutions, can they work on xcp as well? I see we could maybe use agent based backups inside the vms for the larger ones, i will test this with one vm, but need a proper solution in the future, i believe if we can get this to work in xoa that would be the best solution.

                        D 1 Reply Last reply Reply Quote 0
                        • R Offline
                          rfx77
                          last edited by

                          We are using CommVault to backup our XenServer infrastructure. it also does not use CBT but it does not keep the snapshots after the backup. they do some internal tracking. Works very well.

                          But clearly a CBT solution would be the best way. there is a github repo where you can see how it can be implemented with some simple python scripts.

                          For now keeping snapshots of all our VMs the whole day to do delta backups is not an option. we are using a iSCSI Storage and dont want to buy that extra SSDs.

                          Greetings, Franz

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

                            I suppose there's an agent to install in the Dom0 with CommVault for the tracking? I don't see another solution outside CBT to do it.

                            R 1 Reply Last reply Reply Quote 0
                            • D Offline
                              DustinB @rtjdamen
                              last edited by DustinB

                              @rtjdamen said in Why does the backup use snapshots and not CBT:

                              @olivierlambert indeed, what about xenserver compatible backups solutions, can they work on xcp as well? I see we could maybe use agent based backups inside the vms for the larger ones, i will test this with one vm, but need a proper solution in the future, i believe if we can get this to work in xoa that would be the best solution.

                              You should look into something that is Application Aware (SQL etc) for these systems as they are likely sensitive to interruptions.

                              I don't know of any opensource agent based Application Aware backup solutions that would work, (edit) easily enough and not cause other headaches. Of course you would likely only be backing up your database with one of these separate tools and then use XO to restore the guest as a whole and restore whatever database there-after.

                              Off the top of my head a few backup solutions I've seen and used

                              • Bacula
                              • UrBackup
                              • Duplicati
                              • BackupPC

                              I know Bacula is/can be application aware in their paid version but I'm not sure if the opensource edition offers it.

                              1 Reply Last reply Reply Quote 0
                              • R Offline
                                rfx77 @olivierlambert
                                last edited by rfx77

                                @olivierlambert
                                No. A Proxy-VM (Windows) has to be deployed in the Pool. Nothing in Dom0.

                                To my understanding, Commvault mounts the Snapshot-VDIs to the Proxy-VM and does the backup this way. They keep track of the block changes on the Proxy-VM.

                                In the simplest Setup the CommVault Server-VM itself can be the Proxy-VM. The only requirement is that it has access to all SRs where the VMs to backup reside on.

                                You can read the commvault docs on the internet. it is described very well.

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

                                  @rfx77 can you provide a link please? Might worth a look 🙂

                                  R R 2 Replies Last reply Reply Quote 0
                                  • R Offline
                                    rtjdamen @olivierlambert
                                    last edited by

                                    @olivierlambert i am currently looking at Quadric Software and storware, Quadric Software is doing the cbt backup exactly as needed, i got there description on the workflow yesterday

                                    *When you run an ABD/hypervisor backup, the A3 will snapshot the VM for the duration of the backup data acquisition phase. After the datea is collected, the snapshot is immediately deleted.​

                                    In the case of CBT backups, the snapshot is deleted with the special XAPI command vdi-data-destroy, which frees data associated with the snapshot, but retains metadata, including the block allocation for the disk. This allows us to perform a delta backup the next time, with extremely negligible storage overhead.*

                                    This is what we need

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

                                      @rtjdamen we are aware of that, @florent already did a complete PoC with it.

                                      1 Reply Last reply Reply Quote 0
                                      • R Offline
                                        rfx77 @olivierlambert
                                        last edited by

                                        @olivierlambert

                                        https://documentation.commvault.com/2024/essential/citrix_hypervisor_xenserver.html

                                        Its in the price-range of veeam.

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

                                          lol even XCP-ng is listed officially

                                          R 1 Reply Last reply Reply Quote 1
                                          • R Offline
                                            rtjdamen @olivierlambert
                                            last edited by

                                            @olivierlambert yes, maybe the documentation on xcp website can be updated to list them as well.

                                            What is your experience with these backup tools, do u know of companies using them?

                                            R R 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post