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

    XO Backup [NOBAK] for full backups

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    38 Posts 13 Posters 10.1k Views 10 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

      [NOBAK] works, at the transfer level. It means, the disk will be snapshot, but the data won't be export to the backup.

      It's due to the fact we use VM.snapshot method that doesn't allow to make a VM snapshot by excluding disks.

      We have an alternative in the pipes, working directly on disk level snapshot (VDI.snapshot) that will solve this.

      1 Reply Last reply Reply Quote 0
      • N Offline
        normanghenderson
        last edited by

        Thanks @olivierlambert. Any thoughts on the pre / post backup scripts idea?

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

          Don't we have already some webhooks? Anyway, the VDI.snapshot method can be done in one or 2 releases, might worth to wait anyway 🙂

          edit: we have indeed webhooks but for jobs, I wonder it might be trivial to get them for backup 🙂

          1 Reply Last reply Reply Quote 0
          • B Offline
            Biggen
            last edited by Biggen

            I'm waiting for the same feature. I have a surveillance camera VM with a 20TB array that I don't want to back up. I created an Ansible playbook to recreate just the OS in the event I needed to since I can't backup the VM but that is kinda a hack. I'd rather exclude the video footage array and backup the OS.

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

              Noted. Pinging @julien-f

              1 Reply Last reply Reply Quote 1
              • N Offline
                normanghenderson
                last edited by

                Just coming back to this: @olivierlambert
                (1) what is the approximate timeframe for VDI.snapshot ?
                (2) You said "we have indeed webhooks but for jobs, I wonder it might be trivial to get them for backup" - is that likely to happen soon?
                I can't do the code but I can test...

                1 Reply Last reply Reply Quote 0
                • N Offline
                  normanghenderson
                  last edited by

                  Here's another case in XCP-ng/Xen, which pre/post hooks for XO backups could be used to solve:

                  Any way to backup VM with USB attached?

                  There are many situations in which it would be desirable to shut down a VM before backup and start it up again afterwards, especially these cases in which a storage device or USB device needs to be detached or the backup won't run...

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

                    Repinging @julien-f

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

                      @normanghenderson I'm currently working on this feature, I had hoped to be able to release this for the September release but due to last minute issue it will likely be postponed for the end of October.

                      Note that this will ship in the proxy first before making its way to regular backups.

                      Best regards,

                      1 Reply Last reply Reply Quote 0
                      • N Offline
                        normanghenderson
                        last edited by

                        @julien-f Thanks very much. Let me know when there is something to test.

                        N 1 Reply Last reply Reply Quote 0
                        • N Offline
                          normanghenderson @normanghenderson
                          last edited by

                          @normanghenderson Hi Julien, Happy New Year. Just touching base on this? I just made an attempt with xo-server 5.73.0 xo-web 5.76.0 and got the usual SR_OPERATION_NOT_SUPPORTED due to the large disk.

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

                            I think it's coming this release, isn't it @julien-f ?

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

                              @normanghenderson Yep, it should be coming at the end of the month 🙂

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

                                metal

                                1 Reply Last reply Reply Quote 0
                                • N Offline
                                  normanghenderson @julien-f
                                  last edited by

                                  @julien-f Excellent, thank you!

                                  1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    MrBaz
                                    last edited by

                                    Has this been implemented yet?
                                    I've tried the [NOBAK] method, and the disk still gets cycled into the weekly VM backup.

                                    M 1 Reply Last reply Reply Quote 0
                                    • M Offline
                                      MrBaz @MrBaz
                                      last edited by

                                      Running the latest xen orchestra. Just finished our latest weekly backup. It still backed up the 1TB disk I had labeled as [NOBAK].

                                      B 1 Reply Last reply Reply Quote 0
                                      • B Offline
                                        Biggen @MrBaz
                                        last edited by

                                        @mrbaz I don't think its been implemented yet. Its coming from what I've read though.

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

                                          It should be for this release, this time 😉 @julien-f is working on it!

                                          J 1 Reply Last reply Reply Quote 0
                                          • J Offline
                                            johnarvid @olivierlambert
                                            last edited by

                                            @olivierlambert Has there been any progress on the VDI.snapshot? Read somewhere that there could be another branch for testing, but I did not find any.

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