API Docs

This functionality of the Ubiquity API has been disabled. Looking for information on this transition to LeaseWeb? Click here for answers to FAQs and here for information on the LeaseWeb customer portal. Click here for information about the Leaseweb API.

Get to know backup_convert_to_template

Overview: backup_convert_to_template converts a backup to a template.

backup_convert_to_template expects the following parameters:

  • vm_id – The identifier of the VM.
  • backup_id – The identifier of the backup you want to convert to a template.
  • name - a friendly name of the template.


$params = array(
        'vm_id' => 1,
        'backup_id' => 1,
        'name' => 'CentOS 6.5 Web Server'
$api->call('cloud.backup_convert_to_template', $params);


    [status] => 1