Can not restore any backup

cryptolukas

New Member
Dec 8, 2016
10
1
3
34
Hi, i need to backup a Qemu VM

But the Backup fails.

It is one of my productive vms and very critical.

I recieve this error:

Code:
restore vma archive: zcat /mnt/backup/dump/vzdump-qemu-107-2016_12_31-03_18_55.vma.gz|vma extract -v -r /var/tmp/vzdumptmp24106.fifo - /var/tmp/vzdumptmp24106
CFG: size: 304 name: qemu-server.conf
DEV: dev_id=1 size: 42949672960 devname: drive-virtio0
CTIME: Sat Dec 31 03:18:56 2016
Formatting '/var/lib/vz/images/107/vm-107-disk-1.qcow2', fmt=qcow2 size=42949672960 encryption=off cluster_size=65536 preallocation=metadata lazy_refcounts=off refcount_bits=16
new volume ID is 'local:107/vm-107-disk-1.qcow2'
map 'drive-virtio0' to '/var/lib/vz/images/107/vm-107-disk-1.qcow2' (write zeros = 0)

** (process:24109): ERROR **: restore failed - wrong vma extent header chechsum
/bin/bash: line 1: 24108 Broken pipe            zcat /mnt/backup/dump/vzdump-qemu-107-2016_12_31-03_18_55.vma.gz
    24109 Trace/breakpoint trap  | vma extract -v -r /var/tmp/vzdumptmp24106.fifo - /var/tmp/vzdumptmp24106
temporary volume 'local:107/vm-107-disk-1.qcow2' sucessfuly removed
TASK ERROR: command 'zcat /mnt/backup/dump/vzdump-qemu-107-2016_12_31-03_18_55.vma.gz|vma extract -v -r /var/tmp/vzdumptmp24106.fifo - /var/tmp/vzdumptmp24106' failed: exit code 133
[code]
 
The error message indicates that the vma file is corrupt/damaged (wrong vma extent header chechsum) ...
 
i backup all my vms like the normal backup of proxmox

is there any way to get data out of this vma? Here are my only backup
 
I backup all vms with the proxmox backup and now it fails!?
I need the data from the filesystem

Backuplog.

Code:
INFO: Starting Backup of VM 107 (qemu)
INFO: status = running
INFO: update VM 107: -lock backup
INFO: VM Name: websrv01
INFO: include disk 'virtio0' 'local:107/vm-107-disk-1.qcow2'
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: creating archive '/mnt/backup/dump/vzdump-qemu-107-2017_01_01-03_26_18.vma.gz'
INFO: started backup task 'ea4fa5a8-852b-47a8-aa2c-7798bcd8d25a'
INFO: status: 0% (68419584/42949672960), sparse 0% (9355264), duration 3, 22/19 MB/s
INFO: status: 1% (512229376/42949672960), sparse 0% (209977344), duration 18, 29/16 MB/s
INFO: status: 2% (876740608/42949672960), sparse 0% (280457216), duration 32, 26/21 MB/s
INFO: status: 5% (2554331136/42949672960), sparse 4% (1899360256), duration 35, 559/19 MB/s
INFO: status: 6% (2599092224/42949672960), sparse 4% (1899364352), duration 38, 14/14 MB/s
INFO: status: 7% (3018063872/42949672960), sparse 4% (1925931008), duration 59, 19/18 MB/s
INFO: status: 8% (3455320064/42949672960), sparse 4% (1954463744), duration 82, 19/17 MB/s
INFO: status: 9% (3869507584/42949672960), sparse 4% (1973334016), duration 104, 18/17 MB/s
INFO: status: 10% (4302831616/42949672960), sparse 4% (1973559296), duration 125, 20/20 MB/s
INFO: status: 11% (4812177408/42949672960), sparse 4% (2085269504), duration 146, 24/18 MB/s
INFO: status: 12% (5157814272/42949672960), sparse 4% (2086010880), duration 164, 19/19 MB/s
INFO: status: 13% (5592317952/42949672960), sparse 4% (2091315200), duration 186, 19/19 MB/s
INFO: status: 14% (6032326656/42949672960), sparse 4% (2099228672), duration 210, 18/18 MB/s
INFO: status: 15% (6461849600/42949672960), sparse 4% (2104659968), duration 239, 14/14 MB/s
INFO: status: 16% (6892290048/42949672960), sparse 4% (2145325056), duration 262, 18/16 MB/s
INFO: status: 17% (7301890048/42949672960), sparse 5% (2167660544), duration 285, 17/16 MB/s
INFO: status: 18% (7742226432/42949672960), sparse 5% (2170081280), duration 309, 18/18 MB/s
INFO: status: 19% (8160935936/42949672960), sparse 5% (2173403136), duration 331, 19/18 MB/s
INFO: status: 20% (8601862144/42949672960), sparse 5% (2174701568), duration 358, 16/16 MB/s
INFO: status: 21% (9094299648/42949672960), sparse 5% (2286694400), duration 378, 24/19 MB/s
INFO: status: 22% (9464709120/42949672960), sparse 5% (2287026176), duration 399, 17/17 MB/s
INFO: status: 23% (9893642240/42949672960), sparse 5% (2287329280), duration 427, 15/15 MB/s
INFO: status: 24% (10312351744/42949672960), sparse 5% (2287603712), duration 454, 15/15 MB/s
INFO: status: 25% (10745675776/42949672960), sparse 5% (2288791552), duration 479, 17/17 MB/s
INFO: status: 26% (11254693888/42949672960), sparse 5% (2404671488), duration 502, 22/17 MB/s
INFO: status: 27% (11600920576/42949672960), sparse 5% (2405179392), duration 519, 20/20 MB/s
INFO: status: 28% (12034244608/42949672960), sparse 5% (2406449152), duration 541, 19/19 MB/s
INFO: status: 29% (12470321152/42949672960), sparse 5% (2406580224), duration 566, 17/17 MB/s
INFO: status: 30% (12887326720/42949672960), sparse 5% (2406858752), duration 592, 16/16 MB/s
INFO: status: 31% (13406437376/42949672960), sparse 5% (2527879168), duration 613, 24/18 MB/s
INFO: status: 32% (13749321728/42949672960), sparse 5% (2527891456), duration 634, 16/16 MB/s
INFO: status: 33% (14178058240/42949672960), sparse 5% (2527928320), duration 660, 16/16 MB/s
INFO: status: 34% (14603780096/42949672960), sparse 5% (2528079872), duration 682, 19/19 MB/s
INFO: status: 35% (15045099520/42949672960), sparse 5% (2528137216), duration 704, 20/20 MB/s
INFO: status: 36% (15538847744/42949672960), sparse 6% (2644070400), duration 725, 23/17 MB/s
INFO: status: 37% (15899951104/42949672960), sparse 6% (2644164608), duration 742, 21/21 MB/s
INFO: status: 38% (16325672960/42949672960), sparse 6% (2644463616), duration 767, 17/17 MB/s
INFO: status: 39% (16766599168/42949672960), sparse 6% (2644733952), duration 795, 15/15 MB/s
INFO: status: 40% (17180917760/42949672960), sparse 6% (2644746240), duration 819, 17/17 MB/s
INFO: status: 41% (17686986752/42949672960), sparse 6% (2767712256), duration 843, 21/15 MB/s
INFO: status: 42% (18039963648/42949672960), sparse 6% (2768117760), duration 859, 22/22 MB/s
INFO: status: 43% (18470797312/42949672960), sparse 6% (2769616896), duration 877, 23/23 MB/s
INFO: status: 44% (18921816064/42949672960), sparse 6% (2769764352), duration 899, 20/20 MB/s
INFO: status: 45% (19332333568/42949672960), sparse 6% (2774900736), duration 911, 34/33 MB/s
INFO: status: 46% (19857276928/42949672960), sparse 6% (2885451776), duration 929, 29/23 MB/s
INFO: status: 47% (20187578368/42949672960), sparse 6% (2885701632), duration 946, 19/19 MB/s
INFO: status: 48% (20617101312/42949672960), sparse 6% (2885828608), duration 968, 19/19 MB/s
INFO: status: 49% (21061828608/42949672960), sparse 6% (2886393856), duration 993, 17/17 MB/s
INFO: status: 50% (21480734720/42949672960), sparse 6% (2905772032), duration 1017, 17/16 MB/s
INFO: status: 51% (22012231680/42949672960), sparse 7% (3046014976), duration 1037, 26/19 MB/s
INFO: status: 52% (22342795264/42949672960), sparse 7% (3051122688), duration 1054, 19/19 MB/s
INFO: status: 53% (22776119296/42949672960), sparse 7% (3060318208), duration 1081, 16/15 MB/s
INFO: status: 54% (23198040064/42949672960), sparse 7% (3060793344), duration 1107, 16/16 MB/s
INFO: status: 56% (24129306624/42949672960), sparse 9% (3888287744), duration 1113, 155/17 MB/s
INFO: status: 57% (24486608896/42949672960), sparse 9% (3894575104), duration 1132, 18/18 MB/s
INFO: status: 61% (26297499648/42949672960), sparse 13% (5643083776), duration 1135, 603/20 MB/s
INFO: status: 66% (28416933888/42949672960), sparse 17% (7491383296), duration 1147, 176/22 MB/s
INFO: status: 70% (30469521408/42949672960), sparse 21% (9307766784), duration 1161, 146/16 MB/s
INFO: status: 71% (30632378368/42949672960), sparse 21% (9399820288), duration 1164, 54/23 MB/s
INFO: status: 76% (32737132544/42949672960), sparse 26% (11433988096), duration 1167, 701/23 MB/s
INFO: status: 81% (34871181312/42949672960), sparse 31% (13508308992), duration 1170, 711/19 MB/s
INFO: status: 83% (35981885440/42949672960), sparse 33% (14486450176), duration 1176, 185/22 MB/s
INFO: status: 86% (37026398208/42949672960), sparse 36% (15494774784), duration 1179, 348/12 MB/s
INFO: status: 88% (38133563392/42949672960), sparse 38% (16501768192), duration 1186, 158/14 MB/s
INFO: status: 91% (39219625984/42949672960), sparse 40% (17502392320), duration 1189, 362/28 MB/s
INFO: status: 92% (39530332160/42949672960), sparse 40% (17505525760), duration 1200, 28/27 MB/s
INFO: status: 93% (39961034752/42949672960), sparse 40% (17507528704), duration 1219, 22/22 MB/s
INFO: status: 94% (40378957824/42949672960), sparse 40% (17508233216), duration 1243, 17/17 MB/s
INFO: status: 95% (40804679680/42949672960), sparse 40% (17519931392), duration 1268, 17/16 MB/s
INFO: status: 96% (41302622208/42949672960), sparse 41% (17615482880), duration 1291, 21/17 MB/s
INFO: status: 97% (41667526656/42949672960), sparse 41% (17622740992), duration 1309, 20/19 MB/s
INFO: status: 98% (42104651776/42949672960), sparse 41% (17633914880), duration 1335, 16/16 MB/s
INFO: status: 99% (42520281088/42949672960), sparse 41% (17635037184), duration 1359, 17/17 MB/s
INFO: status: 100% (42949672960/42949672960), sparse 41% (17646002176), duration 1383, 17/17 MB/s
INFO: transferred 42949 MB in 1383 seconds (31 MB/s)
INFO: archive file size: 13.97GB
INFO: delete old backup '/mnt/backup/dump/vzdump-qemu-107-2016_12_28-03_17_46.vma.gz'
INFO: Finished Backup of VM 107 (00:23:18)
 
Its a samba share
Today, I create a backup on the local store. I receive the same failures.
It seems it isn't depend of the storagetype.
 
Last edited:
If possible do a memory test on the server. (memtest86+).

Also download the file: vzdump-qemu-107-2016_12_31-03_18_55.vma.gz from backup server to your workstation and check if you can gunzip it there. If it gunzips there just fine, your data is probably OK and you will be able to get it back.

Good luck!
 
I can extract the backup, but I can not restore the file.
In other words. What is your way when you have successful extracted the tar.gz?
 

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!