Recover File
POST https://{{cluster-vip}}/v2/data-protect/recoveries
Recover the objects specified in the request body.
Ensure to provide the following parameters in the request body:
- The snapshot ID (
snapshotId
) from which you want to recover the specified object. - The target ID where the object will be recovered to.
The {{timestamp}}
variable in the request body will be auto-populated when you run the API.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Content-Type | string |
RESPONSES
status: Created
{"id":"8743635867054034:1666901032964:412829","name":"Recover__20230131_13105","startTimeUsecs":1675199405508688,"status":"Accepted","snapshotEnvironment":"kPhysical","recoveryAction":"RecoverFiles","permissions":[],"creationInfo":{"userName":"admin"},"canTearDown":false,"messages":null,"physicalParams":{"objects":[{"snapshotId":"{{snapshotId}}","protectionGroupId":"8743635867054034:1666901032964:412248","snapshotCreationTimeUsecs":1675193566341137,"snapshotTargetType":"Local","storageDomainId":24,"progressTaskId":"","messages":null,"objectInfo":{"id":25263,"name":"{{Source_Phyisical_Server}}","sourceName":"Physical Servers","environment":"kPhysical","objectType":"kHost","protectionType":"kVolume","osType":"kLinux"}}],"recoveryAction":"RecoverFiles","recoverFileAndFolderParams":{"filesAndFolders":[{"absolutePath":"/etc/fonts/conf.d/60-generic.conf","isDirectory":false,"status":"NotStarted","messages":null}],"targetEnvironment":"kPhysical","physicalTargetParams":{"restoreToOriginalPaths":true,"overwriteExisting":false,"preserveAttributes":true,"continueOnError":true,"saveSuccessFiles":true,"recoverTarget":{"id":25263,"name":"{{Target_Physical_Server}}","parentSourceId":20764,"parentSourceName":"Physical Servers"}}}}}