System Administration > Lifecycle Management > Backup Restore Management > Restore

Advance any suspended restore operation

Advance any currently suspended restore operation. The operation might
have been suspended because (1) the user had suspended it previously, or
(2) the operation is waiting for user input, to be provided as a
part of the POST request body. This operation is only valid
when a GET cluster/restore/status returns a status with value SUSPENDED.
Otherwise, a 409 response is returned.

Request:

Method:
POST
URI Path(s):
/api/v1/cluster/restore?action=advance
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
AdvanceClusterRestoreRequest+

Example Request:

POST https://<nsx-mgr>/api/v1/cluster/restore?action=advance { "data": [ { "id": "423F4EBE-7D65-D782-4B7B-BD3EDEF111A4", "resources": [ { "target_type": "LogicalSwitch", "target_display_name": "zone3LS", "is_valid": true, "target_id": "983B5FB6-C4E9-4FC9-81DC-1B27D5D09EC9", "selected": true }, { "target_type": "LogicalSwitch", "target_display_name": "zone4LS", "is_valid": true, "target_id": "86f2b632-2d0e-46f2-9527-5baea8e273cd", "selected": true } ] }, { "id": "52113C04-489E-4D47-B3FB-F3573155B24E", "resources": [ { "target_type": "TransportNode", "target_display_name": "zone3TN", "is_valid": true, "target_id": "86f2b632-2d0e-46f2-9527-5baea8e273cd", "selected": true } ] } ] }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
ClusterRestoreStatus+

Example Response:

{ "id": "86e81e05-bc3c-4216-a0a2-3bf46ece68a3", "backup_timestamp": 1435298084391, "restore_start_time": 1483463180963, "restore_end_time": null, "step": { "step_number": 4, "value": "SFTP_COPY_START", "description": "Starting sftp copy" "status": { "value": "RUNNING", "description": "Sftp copy starting" } }, "status": { "value": "RUNNING", "description": "The operation is currently running" } "total_steps": 11, "endpoints": [ { action: POST, href: '/cluster/restore?action=suspend', rel: "self" }, { action: POST, href: '/cluster/restore?action=cancel', rel: "self" } ], "instructions": [] }

Required Permissions:

crud

Feature:

utilities_backup

Additional Errors: