[PVE-User] PROXMOX API RESTORE PROBLEM
Fabian Grünbichler
f.gruenbichler at proxmox.com
Thu Jul 12 10:28:50 CEST 2018
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).
More information about the pve-user
mailing list