How to restore from an 'extracted' vma backup

Carlos Estrada

Renowned Member
Feb 18, 2016
8
2
68
39
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.