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

    XO Backup [NOBAK] for full backups

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    40 Posts 14 Posters 17.2k Views 11 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.
    • B Offline
      bnerickson @marcungeschikts
      last edited by

      @marcungeschikts I understand that this issue has been solved by halting a VM before taking the snapshot. Per this comment by @julien-f , "[...] but we have discussed with the XCP-ng team and they are working on improving this", is there an issue or feature request or ticket to track XCP-ng's work to improve the implementation so that halting a VM is no longer required?

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

        Not sure to understand. The potential XAPI side improvement is to allow a VM.snapshot command to add extra parameters, excluding some disks.

        You don't need to halt a VM to make a snapshot, it's completely unrelated. Maybe I'm missing something? 🤔

        1 Reply Last reply Reply Quote 0
        • marcungeschiktsM Online
          marcungeschikts Vates 🪐 Project mgmt @bnerickson
          last edited by

          Hi @bnerickson ,

          The xcp-ng part to Exclude VDI from snapshot has been done on XAPI project and can be seen in github https://github.com/xapi-project/xen-api/issues/4551 , but will be only embedded in xcp-ng 8.3 planned around 6 month (+/- 3).

          For the XO part, [Backup] Use ignore_vdis param when snapshotting, I will see with the XO Team and Olivier to synchronize the delivery

          benjamreis created this issue in xapi-project/xen-api

          closed [Feature proposal] Ignore some VDIs when snapshoting a VM #4551

          B 1 Reply Last reply Reply Quote 2
          • B Offline
            bnerickson @marcungeschikts
            last edited by

            @marcungeschikts Thanks, that's perfect!

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

              @julien-f @marcungeschikts @olivierlambert

              Commenting as I feel my recent error (https://xcp-ng.org/forum/post/53557) is somehow related to this thread reading through the comments and history.

              cc. @Tristis-Oris

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

                Does the [NOBAK] need to be in the "Name" or "Description" section? This is not really mentioned anywhere.

                Thanks

                3b208940-6a16-4101-bf18-177c09427cf2-image.png

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

                  It is in the official doc: https://xen-orchestra.com/docs/backups.html#exclude-disks

                  just edit the VM disk name

                  1 Reply Last reply Reply Quote 2
                  • M Offline
                    markhewitt1978
                    last edited by

                    Found this by googling. Is there any news on being able to exclude disks at the snapshot level?

                    I have a couple of big SQL server VMs that are too big to snapshot, but the OS disk is relatively small and the attached disks are backed up by a seperate process anyway. So literally just need the OS image backing up.

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

                      See https://xcp-ng.org/blog/2022/11/18/xcp-ng-8-3-alpha/#✨-vm-snapshot-with-disk-exclusion

                      It's already used/supported by Xen Orchestra. If you want it for production, you'll need to wait for XCP-ng 8.3 to be available 🙂

                      D 1 Reply Last reply Reply Quote 1
                      • D Offline
                        dave.opc @olivierlambert
                        last edited by

                        @olivierlambert
                        Hi.
                        on VM i have 2 disks each 2Tb.
                        i created a continuous replication task with 96h timeout. It did take around 48 hours for full transfer but still ended with "task has been destroyed before completion".
                        can i mark 1 disk with [NOBAK] start a CR task so it copies only 1 disk. When this is finished i mark another disk with [NOBAK] and unmark the 1st one, so it makes a CR for second time and copies another disk. and when this is finished, i remove [NOBAK] completely so that both disks can be transfered delta?

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

                          Hmm I'm not sure about this but worth asking @florent

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