API Docs

Get to know recover

Overview: Reboots the virtual machine into a custom recovery kernel environment that can aid in repairing the virtual machine.

recover expects the following parameters:

  • vm_id – The identifier of the virtual machine in question.

NOTE: In order to get a VM out of recovery mode, use cloud.unrecover

Example:

$params = array(
        'vm_id' => 1
        );
$api->call('cloud.recover', $params);

Output:

Array
(
    [status] => 1
)