How to restore from an 'extracted' vma backup

Feb 18, 2016
8
2
23
38
After backing up a VM what I do is to 'extract' the VMA file to a directory that is then backed up by restic. (This makes deduplication possible with restic). The original VMA is deleted at the end. All this is done automatically with scripts.

What I get in the directory is something like this:

Code:
disk-drive-ide0.raw
disk-drive-ide3.raw
qemu-server.conf
qemu-server.fw

As you can see this specific VM has 2 disks and a firewall configuration.

I know my data is there and there are a lot of way of getting it (mounting, converting raw to XY, etc).

But I need to know what is the preferred/correct way to restore from this directory to a new PVE host (with ZFS).

I thought about 'vma create', but I really don't understand the documentation.
 
Sorry for the delay.

I know that with the information in those files I can create a new VM with same specs.

What I'm asking is how to import/restore the disks (The RAW files) that are 'extracted' from the VMA file.
 

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!