On Wed, Jul 11, 2018 at 10:45:11PM +0200, Krystian Basara wrote:
> Hello.
> I've got problem with restoring VM.
> ( all other api functions work correct for me )
> Example of what i'm using :
> POST methods:
> 
> /nodes/NODE/qemu?vmid=102&storage=local&volume=local:backup/vzdump-kvm-102-2018_07_10-09_45_29.tar
> 
> /nodes/NODE/qemu?vmid=101&storage=local&ostemplate=local:backup/vzdump-lxc-101-2018_07_10-10_24_51.tar
> 
> 
> End point is /nodes/NODE/qemu or lxc, right?
> And vars are volume or ostemplate if restoring?

"archive" is the parameter for the backup archive, volume is for VM
disks, ostemplate is for creating a container from a template. check the
API docs (shipped as part of pve-docs and linked at the bottom of the
documentation).

_______________________________________________
pve-user mailing list
pve-user@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user

Reply via email to