Backup Instances - Trigger Rehydrate

rehydrate recovery point for restore for a BackupInstance

POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/rehydrate?api-version=2023-01-01

URI Parameters

Name In Required Type Description
backupInstanceName
path True

string

The name of the backup instance.

resourceGroupName
path True

string

The name of the resource group. The name is case insensitive.

subscriptionId
path True

string

uuid

The ID of the target subscription. The value must be an UUID.

vaultName
path True

string

The name of the backup vault.

api-version
query True

string

The API version to use for this operation.

Request Body

Name Required Type Description
recoveryPointId True

string

Id of the recovery point to be recovered

rehydrationRetentionDuration True

string

Retention duration in ISO 8601 format i.e P10D .

rehydrationPriority

RehydrationPriority

Priority to be used for rehydration. Values High or Standard

Responses

Name Type Description
202 Accepted

The operation will be completed asynchronously.

Headers

  • Location: string
  • Azure-AsyncOperation: string
  • Retry-After: integer
204 No Content

NoContent

Other Status Codes

CloudError

Error response describing why the operation failed.

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account.

Examples

Trigger Rehydrate

Sample request

POST https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/backupInstances/testInstance1/rehydrate?api-version=2023-01-01

{
  "recoveryPointId": "hardcodedRP",
  "rehydrationRetentionDuration": "7D",
  "rehydrationPriority": "High"
}

Sample response

Location: https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupInstances/harshitbi1/operationResults/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==?api-version=2023-01-01
Azure-AsyncOperation: https://management.azure.com/subscriptions/04cf684a-d41f-4550-9f70-7708a3a2283b/resourceGroups/000pikumar/providers/Microsoft.DataProtection/backupVaults/PratikPrivatePreviewVault1/operationStatus/ZTA4YjQ0ZGYtYmNkNS00YTk1LWFjZTMtOTc1MjNmZWIxYWZlO2Y1ODg1MzA3LWJkNjItNDQ2OC05ZjZlLTJkMGM2NjNiNmJmNg==?api-version=2023-01-01
Retry-After: 60

Definitions

Name Description
AzureBackupRehydrationRequest

AzureBackupRehydrationRequest

CloudError

CloudError

Error

The resource management error response.

ErrorAdditionalInfo

The resource management error additional info.

RehydrationPriority

Priority to be used for rehydration. Values High or Standard

AzureBackupRehydrationRequest

AzureBackupRehydrationRequest

Name Type Description
recoveryPointId

string

Id of the recovery point to be recovered

rehydrationPriority

RehydrationPriority

Priority to be used for rehydration. Values High or Standard

rehydrationRetentionDuration

string

Retention duration in ISO 8601 format i.e P10D .

CloudError

CloudError

Name Type Description
error

Error

The resource management error response.

Error

The resource management error response.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

The error additional info.

code

string

The error code.

details

Error[]

The error details.

message

string

The error message.

target

string

The error target.

ErrorAdditionalInfo

The resource management error additional info.

Name Type Description
info

object

The additional info.

type

string

The additional info type.

RehydrationPriority

Priority to be used for rehydration. Values High or Standard

Name Type Description
High

string

Invalid

string

Standard

string