argh! Seemingly successful backup failing to restore

brian_mac

New Member
Mar 8, 2023
3
0
1
Virtual Environment 7.2-11

I thought I was being a good IT person and performed a backup of my HelpDesk VM before shutting down the server to physically move it to another building. Unfortunately, when I went to start the VM it got stuck on Windows updates and seemed to be in a loop of "removing updates". I thought to myself "Good thing you took a backup.". Well, the backup failed at 2% or so and of course it had destroyed the existing disk as the first step of the restore. Do I have any recovery options at this point? Can the ZST backup file be converted to a disk I can attach to a similarly configured VM? Below is the log from the failing backup. The backup was to a Buffalo network attached storage device mounted with SMB/CIFS.

restore vma archive: zstd -q -d -c /mnt/pve/ds918_cifs/dump/vzdump-qemu-100-2023_03_06-15_00_34.vma.zst | vma extract -v -r /var/tmp/vzdumptmp22404.fifo - /var/tmp/vzdumptmp22404
CFG: size: 539 name: qemu-server.conf
DEV: dev_id=1 size: 610376089600 devname: drive-ide0
CTIME: Mon Mar 6 15:00:35 2023
Logical volume "vm-100-disk-0" created.
new volume ID is 'local-lvm:vm-100-disk-0'
map 'drive-ide0' to '/dev/pve/vm-100-disk-0' (write zeros = 0)
progress 1% (read 6103760896 bytes, duration 162 sec)
progress 2% (read 12207521792 bytes, duration 393 sec)
_06-15_00_34.vma.zst : Decoding error (36) : Corrupted block detected
vma: restore failed - short vma extent (2211707 < 3801600)
/bin/bash: line 1: 22406 Exit 1 zstd -q -d -c /mnt/pve/ds918_cifs/dump/vzdump-qemu-100-2023_03_06-15_00_34.vma.zst
22407 Trace/breakpoint trap | vma extract -v -r /var/tmp/vzdumptmp22404.fifo - /var/tmp/vzdumptmp22404
Logical volume "vm-100-disk-0" successfully removed
temporary volume 'local-lvm:vm-100-disk-0' sucessfuly removed
no lock found trying to remove 'create' lock
error before or during data restore, some or all disks were not completely restored. VM 100 state is NOT cleaned up.
TASK ERROR: command 'set -o pipefail && zstd -q -d -c /mnt/pve/ds918_cifs/dump/vzdump-qemu-100-2023_03_06-15_00_34.vma.zst | vma extract -v -r /var/tmp/vzdumptmp22404.fifo - /var/tmp/vzdumptmp22404' failed: exit code 133
 
It looks like the following command is extracting the VMA file to the same location as the ZST backup. Should I just be able to attach this "disk" to the old VM once it finishes?

zstd -d /mnt/pve/ds918_cifs/dump/vzdump-qemu-100-2023_03_06-15_00_34.vma.zst
 

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!