failed: storage 'local-lvm' does not exist restore qmrestore local-zfs

Zaman

Well-Known Member
Apr 15, 2019
83
4
48
31
Hello,
I try to restore machine (.vma) that not exist on new proxmox machine,
error message
failed: storage 'local-lvm' does not exist

the command
qmrestore /media/usb/vzdump-qemu-128-2020_11_05-09_56_08.vma 106
cat storage.cfg
Code:
dir: local
        path /var/lib/vz
        content iso,vztmpl,backup
zfspool: local-zfs
        pool rpool/data
        sparse
        content images,rootdir
Old Machine
cat storage.cfg

Code:
dir: local
        path /var/lib/vz
        content iso,vztmpl,backup
        maxfiles 2
        shared 1
lvmthin: local-lvm
        thinpool data
        vgname pve
        content images,rootdir
        nodes khd1,pve,khd2,khd3,khd4
nfs: cache
        export /mnt/cache
        path /mnt/pve/cache
        server pve
        content iso,vztmpl,rootdir,backup
        maxfiles 1
local like the problem with local-lvm that changed to local-zfs so what the esier and faster way to restore it
i was thinking to make by somehow to local-lvm = local-zfs or another command to get restore successful
 
hi,

just do qmrestore /media/usb/vzdump-qemu-128-2020_11_05-09_56_08.vma 106 --storage local-zfs
 
  • Like
Reactions: Zaman
hi,

just do qmrestore /media/usb/vzdump-qemu-128-2020_11_05-09_56_08.vma 106 --storage local-zfs
Thanks worked for me :)
look like i was use "-storage" instead of "--storage" or maybe was because of the each command even (exited) and show error gonna create new machine so need to delete it or use new VMID with command
 
Last edited: