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

    Migrating a Windows VM from Proxmox to XCP-NG

    Scheduled Pinned Locked Moved Xen Orchestra
    14 Posts 7 Posters 8.2k Views 5 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.
    • A Offline
      aithorusa
      last edited by

      Hi. I'm a beginner in the world of VMs and virtualization and still learning the ropes. I wanted to know how I'd go about exporting a Windows Server VM on Proxmox and importing it to XCP-NG. I've saved the backup of the said Windows VM on Proxmox however, I need it in OVA/OVF format for XCP-NG for it to be imported.
      I'd really appreciate help and will be very grateful if you could perhaps explain things a little more in the process.

      I 1 Reply Last reply Reply Quote 0
      • I Offline
        iLix @aithorusa
        last edited by

        @aithorusa Hi. You can use https://clonezilla.org/ or https://www.starwindsoftware.com/starwind-v2v-converter

        There are probably more options, but i have used both with sucsess. Are you using local storage or NAS/SAN for you VMs?

        A 1 Reply Last reply Reply Quote 1
        • A Offline
          aithorusa @iLix
          last edited by

          @ilix Thanks for your reply. I am using local storage. I saved the backup in the local storage and then got the backup file using WinSCP.
          If I use these two tools, will I need to work with the backup files? Because XCP-NG only allows OVA/OVF formats when I try and import any VM

          I 1 Reply Last reply Reply Quote 0
          • I Offline
            iLix @aithorusa
            last edited by

            @aithorusa Are you running Proxmox on one host and XCP on another? This video explains how to do Clonezilla: https://www.youtube.com/watch?v=wSTk9BLwF5k

            A 1 Reply Last reply Reply Quote 1
            • A Offline
              aithorusa @iLix
              last edited by

              @ilix Yes I'm running a lot of VMs in Proxmox, one of which I need to migrate to XCP-NG.

              I 1 Reply Last reply Reply Quote 0
              • I Offline
                iLix @aithorusa
                last edited by

                @aithorusa You can also clone "offline", if the two systems don´t have direct access.

                A 1 Reply Last reply Reply Quote 0
                • A Offline
                  aithorusa @iLix
                  last edited by

                  @ilix I apologize for the late reply on this but if you could help me out with one more thing. We have about 50VMs on Proxmox that need to be migrated to XCP-NG. Using clonezilla will be too long of a task and I'm not sure if it'll save the config files for all the settings either. I was wondering if there's any other way I can move the VMs to XCP-NG. I do have the RAW disk images.

                  I D 2 Replies Last reply Reply Quote 0
                  • olivierlambertO Offline
                    olivierlambert Vates 🪐 Co-Founder CEO
                    last edited by

                    We'll be happy to help building scripts to automatically fetch ProxMox content and put it into XCP-ng, however we don't have a great ProxMox knowledge.

                    1 Reply Last reply Reply Quote 0
                    • DanpD Offline
                      Danp Pro Support Team
                      last edited by

                      Since Proxmox is based on KVM, has anyone tried to use this info? -- https://xcp-ng.org/docs/migratetoxcpng.html#from-kvm-libvirt

                      1 Reply Last reply Reply Quote 0
                      • I Offline
                        iLix @aithorusa
                        last edited by

                        @aithorusa I have only done conversions one by one I am afraid, but i guess you could script the conversion as Oliver said.

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          davemcl @aithorusa
                          last edited by

                          @aithorusa What method did you end up going with? Was it successful?

                          AtaxyaNetworkA 1 Reply Last reply Reply Quote 0
                          • AtaxyaNetworkA Offline
                            AtaxyaNetwork Ambassador @davemcl
                            last edited by olivierlambert

                            @davemcl HI !

                            You can use this:

                            qemu-img convert -O vpc proxmox-disk.qcow2 `uuidgen`.vhd
                            scp thegenerateduuid.vhd ip.xcp-ng.server:/run/sr-mount/uuid-of-your-SR
                            

                            Then with XO create a VM and attach the disk

                            It should be working 🙂

                            O 1 Reply Last reply Reply Quote 0
                            • O Offline
                              oxyrizal @AtaxyaNetwork
                              last edited by

                              @AtaxyaNetwork please advice

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

                                Hi,

                                You really need to give more details.

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