pct restore doesn't work

MisterY

Well-Known Member
Oct 10, 2016
136
4
58
37
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.
 

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!