Proxmox 9 export VM?

dhcolesj

Member
Mar 9, 2022
24
7
8
59
I've found a few threads about exporting, but some are old, and others never mention the correct (or what seems like correct) commands to export a VM (disk, settings etc).
I need to export 1 VM back into Red Hat Virtualization as it's the only one I'm concerned with in our POC setup.
I need to re-use the hardware for another purpose for a bit, but need to keep this VM.
I can't find anything in the Docs that give a clear way to export (import yes, but no export)
Anyone know of a good doc location or process to do this? (I have backups I can use later, but they're of no help for the present).
 
I don't know about specific documentation, but the process is easy:
a) if the disk is not already a qcow, convert the disk. Save/copy/move the disk to location of your choosing.
b) review and save the VM config (qm config [vmid])
c) if it helps, save the kvm command: qm showcmd 9018
d) create a VM in your target hypervisor that matches characteristics of the PVE VM
e) import the disk through that hypervisors' interface

There is not much else to it. Have a copy of everything and see if it starts.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
  • Like
Reactions: Johannes S
Yea, I was concerned about the specifics, and found that RHV does raw, so I'm trying just using the raw disk without conversion.
my other question was about exporting the disk with the VM powered off, and it doesn't look like that's possible. which is interesting.
Unless there's another command besides the qemu-img convert . . . (it wouldn't find the disk image)