[SOLVED] VMA in VHD konvertierten

PurePowerPh1l

New Member
Sep 17, 2021
5
1
3
30
Hi,

Ich wollte testweise ein VM Backup auf Azure migrieren, kann aber leider die VMA Datei nicht konvertieren. Ich habe die tar.vma datei auf einen nas habe sie auf einen Windows PC kopiert und dort mit WinRar entpackt.
Nun wollte ich über WSL mit

Code:
qemu-img convert -p -f vma -O vpc inputfilename.vma destinationfilename.vhd

das ganze Konvertieren aber leider kommt die Meldung: qemu-img: Could not open 'inputfilename.vma': Unknown driver 'vma'.
Sollte das nicht eigentlich funktionieren oder was habe ich hier falsch gemacht?
 
Last edited:
vma ist kein qemu disk format... aber du kannst es mit 'vma extract' extrahieren:

Code:
vma extract input.vma /tmp/outputdir
das produziert dir dann ein .raw file im outputdir
 
Okay wusste nicht das ich es zuerst in ein Raw Format Konvertieren muss.
Meine Lösung war: zuerst ins Backup Verzeichnis auf den NAS navigieren

Code:
zstd --decompress --stdout vzdump-qemu-202-2022_03_28-23_43_08.vma.zst | vma extract - extract

qemu-img convert -f raw -O vpc disk-drive-scsi0.raw azure.vhd

Für die Suchmaschinen ;)
 
  • Like
Reactions: aaron

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!