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

    Backup VM with hardware passthrough

    Scheduled Pinned Locked Moved Solved Backup
    5 Posts 2 Posters 693 Views 2 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.
    • GheppyG Offline
      Gheppy
      last edited by Gheppy

      I have the following scenario :
      VM has:

      • sda where is the OS
      • sdb where there are data
      • sdc a HDD on USB passthrough where are backups

      I want to back up only to sda, but it gives an error.
      52fc6454-6143-4151-ab7e-ca59cb664957-image.png

      Configuration is like this
      c21c4d6f-aa43-44f9-a51d-e4dac7f6d181-image.png

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

        Your removable device doesn't support to have any snapshot.

        1. By default, when calling VM.snapshot, the XCP-ng API (XAPI) will try to snap every disk of the VM.
        2. Then, XO will only export the disk snapshots without [NOBAK]
        3. Backup is made, then snap remove.

        Your issue is in 1. We fixed this via a contribution into XAPI, but it will be only in XCP-ng 8.3. It's already working in XO. See https://xen-orchestra.com/blog/xen-orchestra-5-78/#📸-vm-snapshot-ignoring-disks for more details.

        GheppyG 1 Reply Last reply Reply Quote 0
        • GheppyG Offline
          Gheppy @olivierlambert
          last edited by Gheppy

          @olivierlambert
          It is home lab but ... (I don't want to lose everything ) it is safe to go for 8.3
          Can I do upgrade from command line and not use iso CD

          1 Reply Last reply Reply Quote 0
          • GheppyG Offline
            Gheppy
            last edited by

            Update to 8.3 with boot CD, all is ok and backup is done with success.
            Thank you

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

              This is precisely why we did that feature in Xen API 🙂 Enjoy!

              1 Reply Last reply Reply Quote 0
              • olivierlambertO olivierlambert marked this topic as a question on
              • olivierlambertO olivierlambert has marked this topic as solved on
              • First post
                Last post