Restoring a vma.lzo backup

hiimsinak

Member
Nov 7, 2017
14
0
6
Hello guys,

I'm getting confuse about the backup restoring.

I did a backup of a lot of my virtual machines from my old proxmox server.

I used this command to restore one of my backup :
qmrestore vzdump-qemu-200-2019_02_19-22_57_27.vma.lzo 200 -storage vm-disks

But, when I'm trying to start the virtual machine, I get this error message :
"Error: storage 'local' is disabled"


I've set a SSD for the OS and a zfs pool with 3 hdd for the images, containers ...

So, I have disabled my local to don't use it for my virtual machines and containers.

How can I fix it guys ?

Regards,
hiimsinak
 
Please post the VM config ('qm config <VMID>') and the original one in the backup. (GUI -> <storage> -> Content -> <backup file> -> 'Show Configuration')
 
Thanks for replying. You'll see the configuration of both :

Command line :
Code:
root@pve:/my-zfs-pool/dump# qm config 200
bootdisk: scsi0
cores: 2
ide2: local:iso/ubuntu-16.04.3-server-amd64.iso,media=cdrom
memory: 2048
name: guacamole
net0: virtio=06:46:A2:9E:22:87,bridge=vmbr0
numa: 0
ostype: l26
scsi0: vm-disks:vm-200-disk-0,size=32G
scsihw: virtio-scsi-pci
smbios1: uuid=a4fb9abb-763d-4562-867f-fa32883e7d6f
sockets: 2
root@pve:/my-zfs-pool/dump#

GUI :
Code:
bootdisk: scsi0
cores: 2
ide2: local:iso/ubuntu-16.04.3-server-amd64.iso,media=cdrom
memory: 2048
name: guacamole
net0: virtio=06:46:A2:9E:22:87,bridge=vmbr0
numa: 0
ostype: l26
scsi0: local-lvm:vm-200-disk-1,size=32G
scsihw: virtio-scsi-pci
smbios1: uuid=a4fb9abb-763d-4562-867f-fa32883e7d6f
sockets: 2

#qmdump#map:scsi0:drive-scsi0:local-lvm:raw:

Regards,
hiimsinak
 
All right. It's solved. Thanks, your command help me to understand what was wrong with my VM.

So, it was only the CD drive who wasn't ok.

I removed it, and it works now !!

Regards,
hiimsinak