שתף באמצעות


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

Backup instance name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--vault-name -v

Name of the backup vault.

Optional Parameters

--end-time

Specify the end date time in UTC (yyyy-mm-ddTHH:MM:SS).

--max-items

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.

--next-token

Token to specify where to start paginating. This is the token value from a previously truncated response.

--start-time

Specify the start date time in UTC (yyyy-mm-ddTHH:MM:SS).

--use-secondary-region

Use this flag to fetch recovery points from the secondary region.

Accepted values: false, true
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

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

--backup-instance-name

The name of the backup instance.

--ids

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.

--recovery-point-id

Id of the recovery point.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--vault-name -v

The name of the backup vault.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.