Cant restore VM from backups

achirkov

Active Member
Nov 26, 2020
30
1
28
31
Hi! Cant restore VM from backups - tested on 2 proxmox servers, get same errors:
Code:
restore vma archive: zstd -q -d -c /mnt/pve/linus-backup/dump/vzdump-qemu-1002-2022_12_02-06_02_08.vma.zst | vma extract -v -r /var/tmp/vzdumptmp32353.fifo - /var/tmp/vzdumptmp32353
CFG: size: 420 name: qemu-server.conf
DEV: dev_id=1 size: 48318382080 devname: drive-ide0
CTIME: Fri Dec  2 06:02:10 2022
  Logical volume "vm-1002-disk-0" created.
new volume ID is 'thin-data:vm-1002-disk-0'
map 'drive-ide0' to '/dev/vg0/vm-1002-disk-0' (write zeros = 0)
progress 1% (read 483196928 bytes, duration 0 sec)
_02-06_02_08.vma.zst : Decoding error (36) : Destination buffer is too small
vma: restore failed - short vma extent (2267870 < 3785216)
/bin/bash: line 1: 32355 Exit 1                  zstd -q -d -c /mnt/pve/linus-backup/dump/vzdump-qemu-1002-2022_12_02-06_02_08.vma.zst
     32356 Trace/breakpoint trap   | vma extract -v -r /var/tmp/vzdumptmp32353.fifo - /var/tmp/vzdumptmp32353
  Logical volume "vm-1002-disk-0" successfully removed
temporary volume 'thin-data:vm-1002-disk-0' sucessfuly removed
no lock found trying to remove 'create'  lock

TASK ERROR: command 'set -o pipefail && zstd -q -d -c /mnt/pve/linus-backup/dump/vzdump-qemu-1002-2022_12_02-06_02_08.vma.zst | vma extract -v -r /var/tmp/vzdumptmp32353.fifo - /var/tmp/vzdumptmp32353' failed: exit code 133
How I can fix this error?
Code:
~# pveversion -v
proxmox-ve: 6.3-1 (running kernel: 5.4.106-1-pve)
pve-manager: 6.3-7 (running version: 6.3-7/85c4930a)
pve-kernel-5.4: 6.3-8
pve-kernel-helper: 6.3-8
pve-kernel-5.4.106-1-pve: 5.4.106-1
pve-kernel-5.4.78-2-pve: 5.4.78-2
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.1.2-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: residual config
ifupdown2: 3.0.0-1+pve3
libjs-extjs: 6.0.1-10
libknet1: 1.20-pve1
libproxmox-acme-perl: 1.0.8
libproxmox-backup-qemu0: 1.0.3-1
libpve-access-control: 6.1-3
libpve-apiclient-perl: 3.1-3
libpve-common-perl: 6.3-5
libpve-guest-common-perl: 3.1-5
libpve-http-server-perl: 3.1-1
libpve-storage-perl: 6.3-9
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 4.0.6-2
lxcfs: 4.0.6-pve1
novnc-pve: 1.1.0-1
proxmox-backup-client: 1.1.3-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.5-2
pve-cluster: 6.2-1
pve-container: 3.3-5
pve-docs: 6.3-1
pve-edk2-firmware: 2.20200531-1
pve-firewall: 4.1-3
pve-firmware: 3.2-2
pve-ha-manager: 3.1-1
pve-i18n: 2.3-1
pve-qemu-kvm: 5.2.0-6
pve-xtermjs: 4.7.0-3
qemu-server: 6.3-10
smartmontools: 7.2-pve2
spiceterm: 3.1-1
vncterm: 1.6-2
zfsutils-linux: 2.0.4-pve1
 
HI,
[CODE
progress 1% (read 483196928 bytes, duration 0 sec)
_02-06_02_08.vma.zst : Decoding error (36) : Destination buffer is too small
vma: restore failed - short vma extent (2267870 < 3785216)
[/CODE]
There were some buffer bugs ~2021 and you seem to be running a version that is around that time. Perhaps you can restore test on Proxmox VE 7.2? If that works, upgrade
 

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!