Hi,
I tried to take incremental backup of a vm using this script.

 public function downloadDiskIncremental(){

      $data=array();



           $xmlStr = "<disk_attachment>
                        <disk id='1371afdd-91d4-4bc7-9792-0efbf6bbd1c9'>
                      <backup>incremental</backup>
                         </disk>
                        </disk_attachment>";

          $curlParam=array(
                  "url" => 
"vms/4044e014-7e20-4dbc-abe5-64690ec45f63/diskattachments",
          "method" => "POST",
          "data" =>$xmlStr,


          );
}

But it is throwing me error as
Array ( [status] => error [message] => For correct usage, see: 
https://ovirt.bobcares.com/ovirt-engine/api/v4/model#services/disk-attachments/methods/add
 
Please help me with this issue....
                           
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/AZPPQRUCAV6MFJYZXHNBNM3RJVQEPHIX/

Reply via email to