Run Restore Plan

[Applies only to restore plans]

You can run a restore plan with the specified ID.

Request

To run a restore plan, send the HTTP POST request to the /Plans/{planId}/Restore resource.

HTTP Request

POST https://<hostname>:<port>/api/v3/Plans/{planId}/Restore

Request Headers

The request contains the following headers.

Header

Required/Optional

Value

Description

Authorization

Required

Bearer <Access-Token>

Authenticates a client who sends the request to the server. Must contain the access token for the current logon session in the Bearer <Access-Token> format.

Content-Type

Required

application/json

Identifies a media type that is used in the body of the request.

Accept

Optional

  • application/xml
  • text/json
  • application/json

Specifies a media type of representation that is required in the response message. If the requested type is not supported, the server will return the response in the application/json media type.

Request Body

To run a restore plan, you must send the following specific parameters:

Parameter

Type

Description

restoreLocationId

boolean

Defines a restore point to be used to restore VMs.

executeChainedPlans

boolean

Defines whether VAO will run other plans scheduled in chain after the currently processed plan.

restorepointDate

string

Defines a restore recovery location to be used to perform the restore operation.

Note: Use null value to use the latest restore point.

protectStorageVolumes

boolean

Defines whether VAO will protect target storage volumes after restore process is complete.

In the response body, specify parameter values.

{

 "restoreLocationId": "00000000-0000-0000-0000-000000000000",

 "executeChainedPlans": true/false,

 "restorepointDate": "YYYY-MM-DDT00:00:00",

 "protectStorageVolumes": true/false

}

Response

The server returns the following response to the client.

Response Code

A successfully completed operation returns 200 response code.

Response Headers

The response to this request contains the following headers. The response may also include additional standard HTTP headers.

Header

Value

Description

Content-Length

integer

Identifies the length of the response body message, in bytes.

Content-Type

  • application/xml
  • text/json
  • application/json

Identifies the media type of the response body message.

Run Restore PlanExample

The following example runs a restore plan with the ID b8517d70-028d-4740-a130-787e164a3d83. The recovery location ID is ad19ae02-2760-4b38-acee-e1d459b97555.

Request:

POST https://uwin2012r2.n.local:9898/api/v3/Plans/b8517d70-028d-4740-a130-787e164a3d83/Restore

 

Request Header:

Authorization: Bearer <Access-Token>
Content-Type: application/json

 

Request Body:

{

 "restoreLocationId": "ad19ae02-2760-4b38-acee-e1d459b97555",

 "executeChainedPlans": true,

 "restorepointDate": "2020-07-12T17:00:00",

 "protectStorageVolumes": true

}

 

Response:

200

 

Response Body:

{

 "success": true,

 "data": {}

}

I want to report a typo

There is a misspelling right here:

 

I want to let the Veeam Documentation Team know about that.