Outils pour utilisateurs

Outils du site


proxmox-extract-backup:proxmox_extract_backup

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 <file.vma.lzo>
./vma extract -v <file.vma> <not already created directory, ex: ./tmp2>

(optional) convert to qcow2

qemu-img convert -O qcow2 <input file.raw> <output file.qcow2>
proxmox-extract-backup/proxmox_extract_backup.txt · Dernière modification: 2019/11/20 16:59 par ghusson