====== Proxmox extract backup ======
===== add pve repository/key =====
echo "deb http://download.proxmox.com/debian/pve buster pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list
wget -O- "http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg" | apt-key add -
apt-get update
===== get the vma binary and dependancies =====
apt-get download pve-qemu-kvm
mkdir tmp
dpkg -X pve-qemu-kvm_4.0.1-5_amd64.deb ./tmp
mv tmp/usr/bin/vma ./
rm -rf ./tmp
apt-get install libiscsi7 librbd1 libgfapi0 libjemalloc2
===== extract vma.lzo file =====
lzop -d
./vma extract -v
===== (optional) convert to qcow2 =====
qemu-img convert -O qcow2