Error when restore backup on new node

Nezdeshniy

Well-Known Member
Jan 28, 2013
33
1
48
I have 2 node's. I need to move vm(KVM) from 1st node to 2nd.

1st node - i72600S_32GB PVE 2.3
vm backupname: vzdump-qemu-1003-2014_03_05-00_33_57.vma.gz
path to backups /backup/dump

I move backup via FTP to 2 node.

2nd node - 2xXEON5645_48GB PVE 3.1
path to backups /backupnode01/dump

then i try to restore and have error:

restore vma archive: zcat /backupnode01/dump/vzdump-qemu-1003-2014_03_05-00_33_57.vma.gz|vma extract -v -r /var/tmp/vzdumptmp23200.fifo - /var/tmp/vzdumptmp23200
TASK ERROR: command 'zcat /backupnode01/dump/vzdump-qemu-1003-2014_03_05-00_33_57.vma.gz|vma extract -v -r /var/tmp/vzdumptmp23200.fifo - /var/tmp/vzdumptmp23200' failed: got timeout

Need help. Thx.

P.S. - if i look on backup storage in PVE 2.3 i see backup is 11.99GB and on 3.1 12.03GB any idea ?
 
Need help!

Another vm error.

restore vma archive: zcat /backupnode01/dump/vzdump-qemu-1000-2014_03_03-04_00_02.vma.gz|vma extract -v -r /var/tmp/vzdumptmp72755.fifo - /var/tmp/vzdumptmp72755
CFG: size: 347 name: qemu-server.conf
DEV: dev_id=1 size: 214748364800 devname: drive-virtio0
CTIME: Mon Mar 3 04:00:02 2014
Formatting '/var/lib/vz/images/1000/vm-1000-disk-1.raw', fmt=raw size=214748364800
new volume ID is 'local:1000/vm-1000-disk-1.raw'
map 'drive-virtio0' to '/var/lib/vz/images/1000/vm-1000-disk-1.raw' (write zeros = 0)

gzip: /backupnode01/dump/vzdump-qemu-1000-2014_03_03-04_00_02.vma.gz: invalid compressed data--format violated

** (process:72758): ERROR **: restore failed - wrong vma extent header chechsum
/bin/bash: line 1: 72757 Exit 1 zcat /backupnode01/dump/vzdump-qemu-1000-2014_03_03-04_00_02.vma.gz
72758 Trace/breakpoint trap | vma extract -v -r /var/tmp/vzdumptmp72755.fifo - /var/tmp/vzdumptmp72755
temporary volume 'local:1000/vm-1000-disk-1.raw' sucessfuly removed
TASK ERROR: command 'zcat /backupnode01/dump/vzdump-qemu-1000-2014_03_03-04_00_02.vma.gz|vma extract -v -r /var/tmp/vzdumptmp72755.fifo - /var/tmp/vzdumptmp72755' failed: exit code 133
 
gzip: /backupnode01/dump/vzdump-qemu-1000-2014_03_03-04_00_02.vma.gz: invalid compressed data--format violated

This usually indicated that the gzip file is damaged. What is the output of

# file /backupnode01/dump/vzdump-qemu-1000-2014_03_03-04_00_02.vma.gz
 
I mean, it is a .gz file (much like a -tar.gz, I guess).
Uncompressing it, you should end with a .vma file. Backup seems to pipe the whole file to "vma extract" using "zcat". But also other tools can be used (see "man zcat")
If this works without problems, you then could try to etract the .vma

This could help to debug what is not working. Perhaps.

Marco
 

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!