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

    Our future backup code: test it!

    Scheduled Pinned Locked Moved Backup
    60 Posts 9 Posters 2.2k Views 9 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.
    • D Offline
      Delgado @olivierlambert
      last edited by

      @olivierlambert I just tried to build the install with that branch and got the following error.

      β€’ Running build in 22 packages
      β€’ Remote caching disabled
      @xen-orchestra/disk-transform:build: cache miss, executing c1d61a12721a1a1b
      @xen-orchestra/disk-transform:build: yarn run v1.22.22
      @xen-orchestra/disk-transform:build: $ tsc
      @xen-orchestra/disk-transform:build: src/SynchronizedDisk.mts(2,30): error TS
      2307: Cannot find module '@vates/generator-toolbox' or its corresponding type
       declarations.
      @xen-orchestra/disk-transform:build: error Command failed with exit code 2.
      

      OS: Rocky 9
      Yarn: 1.22.22
      Node: v22.14.0

      Let me know if you need anymore information.

      florentF 1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates πŸͺ Co-Founder CEO
        last edited by

        It's a bit early, it should be ready for Monday πŸ˜‰

        1 Reply Last reply Reply Quote 0
        • florentF Offline
          florent Vates πŸͺ XO Team @Delgado
          last edited by

          @Delgado relevant packet aren't published yet, and we are testing it as extensively as possible before letting you play with it

          1 Reply Last reply Reply Quote 1
          • D Offline
            Delgado
            last edited by

            Thanks! Looking forward to trying it out!

            F 1 Reply Last reply Reply Quote 0
            • F Offline
              flakpyro @Delgado
              last edited by

              @olivierlambert @stormi this looks interesting! What will be the main advantages of using "Node generators" instead of streams for backups?

              florentF 1 Reply Last reply Reply Quote 0
              • J Offline
                john.c
                last edited by john.c

                Yes it definitely looks really good. Will it be able to perform File Level restore, on multiple disk images in LVM LVs in a LVM VG on a single VM?

                The reason being a lecturer on a Linux System Administration course, who's lecturing based on experience. The lecturer's experience is from over 30 Years of System Administration at a wide variety of Corporations including the Fortune 500.

                During the course the lecturer has the student's setup VMs using LVM based drive pools for storage. Then have them learn how to add more drives to the LVM VG and increase the size of LVM LV and the filesystem formatted on the logical volume.

                If the current and proposed backup engine can't support File Level restore on LVM could it be added please?

                florentF 1 Reply Last reply Reply Quote 0
                • olivierlambertO Offline
                  olivierlambert Vates πŸͺ Co-Founder CEO
                  last edited by

                  No change in feature in the end, however the problem with LVM could be easily solved with "Instant restore" feature, coming somewhere in 2025.

                  J 1 Reply Last reply Reply Quote 0
                  • J Offline
                    john.c @olivierlambert
                    last edited by john.c

                    @olivierlambert said in Our future backup code: test it!:

                    No change in feature in the end, however the problem with LVM could be easily solved with "Instant restore" feature, coming somewhere in 2025.

                    Thanks for the reply and all of your company's hard work. When the date gets closer I'll let the Linux System Administration lecturer know about using VMs via XCP-ng, XOA and Instant Restore.

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

                      Will this add the ability to control which disks on the VM will be backed up? I'd love to be able to select specific disks on a VM to backup and leave others out.

                      Maybe configured at the VM level rather than the backup level. Flag a disk as not needing backup and then the regular backup procedure would ignore it. However, I could also see why it might be better to control it by creating a specific backup for that VM so you could have different backup schedules, some that backup those extra disks and some that don't. I have no need to ever backup the extra disks at the moment though.

                      F 1 Reply Last reply Reply Quote 0
                      • F Offline
                        flakpyro @CodeMercenary
                        last edited by

                        @CodeMercenary I think what your asking for is already possible using [nobak] and [nosnap]
                        https://xen-orchestra.com/blog/xen-orchestra-5-96/

                        C 1 Reply Last reply Reply Quote 0
                        • C Offline
                          CodeMercenary @flakpyro
                          last edited by CodeMercenary

                          @flakpyro Oh thank you. I try to go through every update post but I must have missed that one.

                          It worked 😸
                          3b1233ae-e306-48ec-a15c-89dd5bbe9504-image.png

                          Makes a big difference for this VM if I back up a partially filled 250GB disk vs a largely full 8,250GB set of disks when 8TB of that doesn't need to be backed up.

                          florentF 1 Reply Last reply Reply Quote 0
                          • florentF Offline
                            florent Vates πŸͺ XO Team @CodeMercenary
                            last edited by

                            @CodeMercenary that is exactly the use case of the [NOBAK]
                            the best way to speed up a transfer is to skip the transfer

                            1 Reply Last reply Reply Quote 0
                            • florentF Offline
                              florent Vates πŸͺ XO Team @john.c
                              last edited by

                              @john.c no, but this is high on our backlog, but there is no easy solution to autodetect the settings without booting the VM

                              Still, we have a cli to mount a VHD as a raw disk : https://github.com/vatesfr/xen-orchestra/tree/master/%40vates/fuse-vhd , this can allow you to then mount any complex setup . This hide the complexity of the vhd chain, then encryption at rest, vhd blocks, and storage difference.

                              1 Reply Last reply Reply Quote 0
                              • florentF Offline
                                florent Vates πŸͺ XO Team @flakpyro
                                last edited by

                                @flakpyro today the backup code use binary stream in a the vhd format. This format is limited, by design , to 2TB disks
                                xcp-ng team introduce the qcow2 format to handle bigger disk
                                By using a independant format, we'll be able to handle both vhd and qcow2 on the backup side without multiplying complexity. We'll also be able to build the adapter to handle the various vmdk sub format (rax, cowd, sesparse and stream optimized) used by v2v and import bigger disks directly

                                1 Reply Last reply Reply Quote 2
                                • Tristis OrisT Offline
                                  Tristis Oris Top contributor
                                  last edited by

                                  Could i test it on prod, along with real backups? or better to setup 2nd XO instance.

                                  1 Reply Last reply Reply Quote 0
                                  • olivierlambertO Offline
                                    olivierlambert Vates πŸͺ Co-Founder CEO
                                    last edited by

                                    It's your call, but there's no guarantee it won't break for now, as the code is relatively young.

                                    Tristis OrisT 1 Reply Last reply Reply Quote 0
                                    • Tristis OrisT Offline
                                      Tristis Oris Top contributor @olivierlambert
                                      last edited by

                                      @olivierlambert but could it change old backup tasks\compability or something else? tests with real data obviously more helpful.

                                      florentF 1 Reply Last reply Reply Quote 0
                                      • olivierlambertO Offline
                                        olivierlambert Vates πŸͺ Co-Founder CEO
                                        last edited by

                                        I will let @florent answering this one πŸ˜„

                                        D 1 Reply Last reply Reply Quote 0
                                        • D Offline
                                          Davidj 0 @olivierlambert
                                          last edited by

                                          I'm still getting "Cannot find module '@vates/generator-toolbox'" errors when I try to build it. I'm using the 'feat_generator_backups" branch.

                                          florentF 1 Reply Last reply Reply Quote 0
                                          • olivierlambertO Offline
                                            olivierlambert Vates πŸͺ Co-Founder CEO
                                            last edited by

                                            Thanks for your feedback, @florent will take a look.

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