[PVE-User] KVM restore via API..

Guy guy at britewhite.net
Wed Jun 6 11:20:37 CEST 2012


Hi All,

I'm issuing this command to start a restore of an image..

curl -s -k -XPOST -H 'CSRFPreventionToken:$CSRFPreventionToken' '$host/api2/json/nodes/$PVEName/qemu/' -b 'PVEAuthCookie=$key' -d 'vmid=10010&archive=/felabimages/winXPPro.tar'

this seems to start the process however the output from the restore returns this:

TASK ERROR: Insecure dependency in piped open while running with -T switch at /usr/share/perl5/PVE/QemuServer.pm line 3072.

And the restore does not complete.

Did I pass something wrong here?

Cheers,
---Guy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20120606/e10f76d5/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4885 bytes
Desc: not available
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20120606/e10f76d5/attachment.bin>


More information about the pve-user mailing list