can't restore vma.lzo backup to different storage - failed: unsupported format qcow2

abt

New Member
Jun 4, 2013
1
0
1
Hi guys - hopefully you can help me.

I'm trying to restore a backup that is in vma.lzo format and stored in one storage type (directory) to another storage type (LVM) and a different VM id. I ran the original backup via the GUI, but when I try to restore via the gui I don't have the option to specify a different VM id. So I ran the following command and the resulting error is included as well. Please help...

root@c21vm1:/var/restore/dump# qmrestore --storage main vzdump-qemu-101-2013_05_02-00_11_40.vma.lzo 108
restore vma archive: lzop -d -c /var/restore/dump/vzdump-qemu-101-2013_05_02-00_11_40.vma.lzo|vma extract -v -r /var/tmp/vzdumptmp274318.fifo - /var/tmp/vzdumptmp274318
CFG: size: 274 name: qemu-server.conf
DEV: dev_id=1 size: 536870912000 devname: drive-ide0
CTIME: Thu May 2 00:11:42 2013
command 'lzop -d -c /var/restore/dump/vzdump-qemu-101-2013_05_02-00_11_40.vma.lzo|vma extract -v -r /var/tmp/vzdumptmp274318.fifo - /var/tmp/vzdumptmp274318' failed: unsupported format 'qcow2' at /usr/share/perl5/PVE/Storage/LVMPlugin.pm line 252.



Here is my version info... Thanks in advance.

root@c21vm1:/var/restore/dump# pveversion -v
pve-manager: 2.3-13 (pve-manager/2.3/7946f1f1)
running kernel: 2.6.32-19-pve
proxmox-ve-2.6.32: 2.3-96
pve-kernel-2.6.32-19-pve: 2.6.32-96
pve-kernel-2.6.32-18-pve: 2.6.32-88
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.4-4
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.93-2
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.9-1
pve-cluster: 1.0-36
qemu-server: 2.3-20
pve-firmware: 1.0-21
libpve-common-perl: 1.0-49
libpve-access-control: 1.0-26
libpve-storage-perl: 2.3-7
vncterm: 1.0-4
vzctl: 4.0-1pve2
vzprocps: 2.0.11-2
vzquota: 3.1-1
pve-qemu-kvm: 1.4-10
ksm-control-daemon: 1.1-1
root@c21vm1:/var/restore/dump#
 
Re: can't restore vma.lzo backup to different storage - failed: unsupported format qc

do you have a 3.0 box to test if it works in latest version?
(you can also test in a virtualized installation)
 
Re: can't restore vma.lzo backup to different storage - failed: unsupported format qc

command 'lzop -d -c /var/restore/dump/vzdump-qemu-101-2013_05_02-00_11_40.vma.lzo|vma extract -v -r /var/tmp/vzdumptmp274318.fifo - /var/tmp/vzdumptmp274318' failed: unsupported format 'qcow2' at /usr/share/perl5/PVE/Storage/LVMPlugin.pm line 252.

This backup contains a qcow2 file, so you need to specify a storage which can handle this type (Directory/NFS). In 3.0 you can also restore such files to LVM.