Migration of KVM VMs to Proxmox

texmansru47

New Member
Jul 25, 2024
5
0
1
Good Evening Everyone!

I have three VMs from my CENTOS 7 Server that was running KVM. I am rebuilding the server with Proxmox and want to restore these VMs. Everything I see for this process has to do with working with .ova files. I don't have that nor I am not sure how to make them if need be. What I do have is the following:

1) .XML file for each VM I have (created a XML file per instructions from KVM)
2).qcow2 file for each VM as well (the data)

I have found information about migrating the .qcow2 files but nothing for the .XML files... so is this possible? Do I need the .XML files? Do I need to capture both files into a .ova file?

Sorry new to this part of VM processing. I would love to for my existing VMs to be restored and running correctly on proxmox since I think this is a great product. Just need some insight ( or education) on the migration process.

Cheers in advance,
Texmansru47!
 
Hi,

You don't create ova files, just move the `.qcow2` disk image file from your KVM server to Proxmox VE using like `scp` and then create a VM and import the `.qcow2` file using `qm` tool e.g.:
Bash:
qm importovf <vmid> <manifest> <storage>
 
Hi,

You don't create ova files, just move the `.qcow2` disk image file from your KVM server to Proxmox VE using like `scp` and then create a VM and import the `.qcow2` file using `qm` tool e.g.:
Bash:
qm importovf <vmid> <manifest> <storage>
Perfect... thanks!
 
The image you imported, I would first check if the VM booted, if not then you may check the image if the name correct is.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!