ServerMania logo

Restore Virtual Server from Recovery Point

To restore a virtual server from a recovery point, use the following request: 

POST /virtual_machines/:virtual_machine_id/backups/recovery_points/:recovery_point_id/restore.xml
POST /virtual_machines/:virtual_machine_id/backups/recovery_points/:recovery_point_id/restore.json

XML Request Example

curl -i -X POST -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass --url http://test/virtual_machines/12/backups/recovery_points/3/restore.xml

JSON Request Example

curl -i -X POST -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass --url http://test/virtual_machines/12/backups/recovery_points/3/restore.json


Page History

v. 5.9

  • updated the following API requests: 
    • from  POST /virtual_servers/:virtual_server_id/backups/recovery_points/:recovery_point_id/restore.xml to POST /virtual_machines/:virtual_machine_id/backups/recovery_points/:recovery_point_id/restore.xml

    • from POST /virtual_servers/:virtual_server_id/backups/recovery_points/:recovery_point_id/restore.json to POST /virtual_machines/:virtual_machine_id/backups/recovery_points/:recovery_point_id/restore.json