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

Zaman

Active Member
Apr 15, 2019
78
3
28
30
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:

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!