az dataprotection recovery-point
Note
This reference is part of the dataprotection extension for the Azure CLI (version 2.57.0 or higher). The extension will automatically install the first time you run an az dataprotection recovery-point command. Learn more about extensions.
Manage recovery point with dataprotection.
Commands
Name | Description | Type | Status |
---|---|---|---|
az dataprotection recovery-point list |
Returns a list of Recovery Points for a DataSource in a vault. |
Extension | GA |
az dataprotection recovery-point show |
Get a Recovery Point using recoveryPointId for a Datasource. |
Extension | GA |
az dataprotection recovery-point list
Returns a list of Recovery Points for a DataSource in a vault.
az dataprotection recovery-point list --backup-instance-name
--resource-group
--vault-name
[--end-time]
[--max-items]
[--next-token]
[--start-time]
[--use-secondary-region {false, true}]
Examples
List of Recovery Points in a Vault
az dataprotection recovery-point list --backup-instance-name "sample_biname-00000000-0000-0000-0000-000000000000" --resource-group "sample_rg" --vault-name "sample_vault"
Required Parameters
Backup instance name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the backup vault.
Optional Parameters
Specify the end date time in UTC (yyyy-mm-ddTHH:MM:SS).
Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token
argument of a subsequent command.
Token to specify where to start paginating. This is the token value from a previously truncated response.
Specify the start date time in UTC (yyyy-mm-ddTHH:MM:SS).
Use this flag to fetch recovery points from the secondary region.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az dataprotection recovery-point show
Get a Recovery Point using recoveryPointId for a Datasource.
az dataprotection recovery-point show [--backup-instance-name]
[--ids]
[--recovery-point-id]
[--resource-group]
[--subscription]
[--vault-name]
Examples
Get Recovery Point
az dataprotection recovery-point show --backup-instance-name "testInstance1" --recovery- point-id "7fb2cddd-c5b3-44f6-a0d9-db3c4f9d5f25" --resource-group "000pikumar" --vault-name "PratikPrivatePreviewVault1"
Optional Parameters
The name of the backup instance.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Id of the recovery point.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
The name of the backup vault.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.