/container-vma

Container with proxmox vma

Primary LanguageDockerfile

container-vma

Tool to extract disk from Proxmox VMA backup files. Inspired by https://github.com/akaihola/docker-vma.

Download and build

git clone https://github.com/reuteras/container-vma.git
cd container-git
docker build -t reuteras/container-vma .

Usage

To use the container replace below with the directory containing the vma-files. That directory will be available under the directory /images in the container.

docker run -ti --rm  -v <IMAGES DIRECTORY>:/images reuteras/container-vma
root@b428849c656e:/#  cd images/
root@b428849c656e:/images# ls
backup.vma
root@b428849c656e:/images#

In the shell use the command vma to extract the vma file(s). Run vma without any argument to see the help:

# vma
usage: vma command [command options]

vma list <filename>
vma config <filename> [-c config]
vma create <filename> [-c config] pathname ...
vma extract <filename> [-r <fifo>] <targetdir>
vma verify <filename> [-v]

If the file is compressed with zstd you can use unzstd to uncompress the image first.

Proxmox

Links to interesting pages in the Proxmox wiki.