Krystian Basara
2018-07-11 20:45:11 UTC
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?
Am I doing it in wrong way?
Thanks for help.
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?
Am I doing it in wrong way?
Thanks for help.