U ufukkiraz New Member Feb 1, 2024 1 0 1 Feb 1, 2024 #1 Hi I'm using proxmox 8.1.3 I created a virtual windows machine and I want to take the backup file of it and convert it to this vhdx format how can I do?
Hi I'm using proxmox 8.1.3 I created a virtual windows machine and I want to take the backup file of it and convert it to this vhdx format how can I do?
fschauer Proxmox Staff Member Staff member Aug 1, 2023 236 63 33 Feb 2, 2024 #2 To achieve this you will have to extract the desired disk image from the vma backup file and then convert the extracted disk image to the vhdx format. To extract the vma file, use the vma utility. Code: vma extract <vmafile> [-d <drive-list>] <targetdir> If you want to only extract certain disk images, use -d with a comma separated list of disks. You can get a list of disks with vma list <vmafile> Once the disk images are extracted, convert them to vhdx with qemu-img Code: qemu-img convert -f raw -O vhdx disk-drive-scsi0.raw disk-drive-scsi0.vhdx Reactions: Moayad
To achieve this you will have to extract the desired disk image from the vma backup file and then convert the extracted disk image to the vhdx format. To extract the vma file, use the vma utility. Code: vma extract <vmafile> [-d <drive-list>] <targetdir> If you want to only extract certain disk images, use -d with a comma separated list of disks. You can get a list of disks with vma list <vmafile> Once the disk images are extracted, convert them to vhdx with qemu-img Code: qemu-img convert -f raw -O vhdx disk-drive-scsi0.raw disk-drive-scsi0.vhdx