pct restore doesn't work

MisterY

Renowned Member
Oct 10, 2016
141
4
83
38
Hi,

i did it with this command a while ago and it worked, but now it's not working anymore.

Code:
root@pve:/tank/Backup/dump# pct restore 151 vzdump-lxc-111-2017_08_22-13_37_49.tar.lzo -rootfs local-zfs:SIZE=15 -mp0 ZFSTank:SIZE=500,mp=mnt/data -mp1 ZFSTank:SIZE=500,mp=mnt/data2 -mp2 ZFSTank:SIZE=500,mp=mnt/data3
400 Parameter verification failed.
mp0: invalid format - format error
mp0.ZFSTank:SIZE: property is not defined in schema and the schema does not allow additional properties
mp0.volume: property is missing and it is not optional

mp2: invalid format - format error
mp2.ZFSTank:SIZE: property is not defined in schema and the schema does not allow additional properties
mp2.volume: property is missing and it is not optional

mp1: invalid format - format error
mp1.ZFSTank:SIZE: property is not defined in schema and the schema does not allow additional properties
mp1.volume: property is missing and it is not optional

rootfs: invalid format - format error
rootfs.volume: property is missing and it is not optional
rootfs.local-zfs:SIZE: property is not defined in schema and the schema does not allow additional properties

pct restore <vmid> <ostemplate> [OPTIONS]
 
I doubt that this ever worked - format "local-zfs:SIZE=15" was never supported. Please use "local-zfs:15" instead.