Restore a virtual machine Protection Group from recovery points.

post/backup-recovery/v1beta1/virtual-machine-protection-groups/{id}/restore

Restore a virtual machine Protection Group from recovery points.

Securitybearer
Request
path Parameters
id
required
string

UUID string uniquely identifying the Virtual Machine Protection Group.

Example: 9b4c14a6-3cd5-4907-97c4-cf44c5b641e4
Request Body schema: application/json
required
description
string

A brief description about the new VM.

namePostfix
string

A postfix name given by user for the new VM.

namePrefix
string

A prefix name for the new VM.

powerOnVmsAfterRestore
boolean

True if all the resources in the Virtual Machine Protection Group needs to be poweredon after restore. Required only in case of alternate datastore restore.

Array of objects

Recovery point information.

restoreAllResources
boolean

True if all the resources in the Virtual Machine Protection Group needs to be restored.

restoreType
string

Specifies the type of restore needs to be performed.

Enum: "PARENT" "ALTERNATE"
object

Provides the details about target VM location, compute, etc. These inputs are required only if the restore type is 'ALTERNATE'.

Responses
202

Accepted

400

Bad request

401

Unauthorized

403

Forbidden

409

Conflict

500

Internal / unexpected error

Request samples
application/json
{
  • "description": "string",
  • "namePostfix": "string",
  • "namePrefix": "string",
  • "powerOnVmsAfterRestore": true,
  • "recoveryInfo": [
    ],
  • "restoreAllResources": true,
  • "restoreType": "PARENT",
  • "targetInfo": {
    }
}
Response samples
application/json
{ }