Get to know backup_create
Creates a backup for the indicated VM.
backup_create expects the following parameters:
- vm_id – The identifier of the virtual machine in question.
- name - a name for the backup you are creating.
$params = array( 'vm_id' => 1, 'name' => 'backup_of_vm_1' ); $api->call('cloud.backup_create', $params);
Array ( [status] => 1 [data] => Backup has been added to the create queue. )