qmrestore problem

chrisalavoine

Renowned Member
Sep 30, 2009
152
0
81
Hi there,

I'm using qmrestore to try and restore a backed up kvm snapshot. I'm running 1.4 beta 1.

The backups were created using the same version of Proxmox.

Whenever I restore the process seems to complete ok and my VM appears in the virtual list.

On starting the VM I get a boot disk not found error.

I have tried restoring from different locations. I have a local backup directory and an NFS share. Neither work.

Is there something corrupted in my snapshot?

Regards,

Chris.
 
Hi there,

This is my conf from the restored VM:

name: ess-dc-001
ide2: cdrom,media=cdrom
vlan0: rtl8139=EE:C5:99:96:A1:BC
bootdisk: ide0
ostype: l26
ide0: kvmdata:vm-121-disk-1
memory: 720
sockets: 1
onboot: 1
cores: 1


c:)
 
I've also tried restoring to the local storage with the same results.

My setup is a two machine cluster with DRBD. I've tried restoring to the slave machine again with the same results.

c:)
 
I've also tried restoring to the local storage with the same results.

My setup is a two machine cluster with DRBD. I've tried restoring to the slave machine again with the same results.

c:)

are you sure that you use a valid backup- do you have the log from this backup? can you backup again and try to restore?

btw, 1.4 beta should not be used, go for the latest 1.4.
 
Hi Tom,

This is the output from the log for the VM I'm trying to restore:

Dec 08 01:35:25 INFO: Starting Backup of VM 106 (qemu)
Dec 08 01:35:25 INFO: running
Dec 08 01:35:25 INFO: status = running
Dec 08 01:35:26 INFO: backup mode: snapshot
Dec 08 01:35:26 INFO: bandwidth limit: 10240 KB/s
Dec 08 01:35:26 INFO: Logical volume "vzsnap-ess-kvm-001-0" created
Dec 08 01:35:28 INFO: creating archive '/mnt/pve/vm_snapshots/vzdump-qemu-106-2009_12_08-01_35_25.tgz'
Dec 08 01:35:29 INFO: adding '/mnt/pve/vm_snapshots/vzdump-qemu-106-2009_12_08-01_35_25.tmp/qemu-server.conf' to archive ('qemu-server.conf')
Dec 08 01:35:29 INFO: adding '/dev/kvmdata/vzsnap-ess-kvm-001-0' to archive ('vm-disk-ide0.raw')
Dec 08 01:41:42 INFO: Total bytes written: 4373158912 (11.18 MiB/s)
Dec 08 01:42:17 INFO: archive file size: 1.44GB
Dec 08 01:42:17 INFO: delete old backup '/mnt/pve/vm_snapshots/vzdump-qemu-106-2009_12_07-01_35_26.tgz'
Dec 08 01:42:19 INFO: Logical volume "vzsnap-ess-kvm-001-0" successfully removed
Dec 08 01:42:20 INFO: Finished Backup of VM 106 (00:06:55)

Can't see anything bad there.

My version of proxmox is:
pve-manager/1.4/4390

Can't remember if that's beta or not.
 
Hi Tom,

This is the output from the log for the VM I'm trying to restore:

Dec 08 01:35:25 INFO: Starting Backup of VM 106 (qemu)
Dec 08 01:35:25 INFO: running
Dec 08 01:35:25 INFO: status = running
Dec 08 01:35:26 INFO: backup mode: snapshot
Dec 08 01:35:26 INFO: bandwidth limit: 10240 KB/s
Dec 08 01:35:26 INFO: Logical volume "vzsnap-ess-kvm-001-0" created
Dec 08 01:35:28 INFO: creating archive '/mnt/pve/vm_snapshots/vzdump-qemu-106-2009_12_08-01_35_25.tgz'
Dec 08 01:35:29 INFO: adding '/mnt/pve/vm_snapshots/vzdump-qemu-106-2009_12_08-01_35_25.tmp/qemu-server.conf' to archive ('qemu-server.conf')
Dec 08 01:35:29 INFO: adding '/dev/kvmdata/vzsnap-ess-kvm-001-0' to archive ('vm-disk-ide0.raw')
Dec 08 01:41:42 INFO: Total bytes written: 4373158912 (11.18 MiB/s)
Dec 08 01:42:17 INFO: archive file size: 1.44GB
Dec 08 01:42:17 INFO: delete old backup '/mnt/pve/vm_snapshots/vzdump-qemu-106-2009_12_07-01_35_26.tgz'
Dec 08 01:42:19 INFO: Logical volume "vzsnap-ess-kvm-001-0" successfully removed
Dec 08 01:42:20 INFO: Finished Backup of VM 106 (00:06:55)

Can't see anything bad there.

My version of proxmox is:
pve-manager/1.4/4390

Can't remember if that's beta or not.

I also see nothing bad, no idea whats wrong on your side. works here without issues (using the latest stable 1.4 for backup and restore)
 
What command did you use to restore that?

qmrestore /backup/vzdump-qemu-106-2009_12_02-11_30_01.tar 120


(This tried restoring back to the original location "kvmdata" which is an LVM shared storage, I also tried the command with the "--storage local" flag with the same results).
 
qmrestore /backup/vzdump-qemu-106-2009_12_02-11_30_01.tar 120

Are you sure you used that command to create above config? (looks like you used --storage option)

I assume qmrestore does not report any errors? Are the files created in /var/lib/vz/images/120/ ?
 
Hi guys,
Unfortunately i have the same problem as chrisalavoine. Has anybody found a solution?
I would really appreciate your help.
Thanks.
 
this is an quite old thread. pls open a new thread and provide all details, including 'pveversion -v' and your VM config 'cat /etc/qemu-server/VMID'.