The following request applies to configuration where normal backups are enabled for cloud, and will create backups for all disks.

To create backups/snapshots of all VS disks:

POST  /virtual_machines/:vm_id/backups.xml
POST  /virtual_machines/:vm_id/backups.json

XML Request example

curl -i -X POST -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass --url http://onapp.test/virtual_machines/irs1j5cl0l7pw2/backups.xml

JSON Request example

curl -i -X POST -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass --url http://onapp.test/virtual_machines/irs1j5cl0l7pw2/backups.json

Where you have set the ID of a virtual server.