Share via


az dataprotection restorable-time-range

Note

This reference is part of the dataprotection extension for the Azure CLI (version 2.67.0 or higher). The extension will automatically install the first time you run an az dataprotection restorable-time-range command. Learn more about extensions.

Manage restorable time range with dataprotection.

Commands

Name Description Type Status
az dataprotection restorable-time-range find

Finds the valid recovery point in time ranges for the restore.

Extension GA

az dataprotection restorable-time-range find

Finds the valid recovery point in time ranges for the restore.

az dataprotection restorable-time-range find --source-data-store-type {ArchiveStore, OperationalStore, VaultStore}
                                             [--backup-instance-name]
                                             [--end-time]
                                             [--ids]
                                             [--resource-group]
                                             [--start-time]
                                             [--subscription]
                                             [--vault-name]

Examples

Find Restorable Time Ranges

az dataprotection restorable-time-range find --backup-instance-name "zblobbackuptestsa58" --end-time "2021-02-24T00:35:17.6829685Z" --source-data-store-type "OperationalStore" --start-time "2020-10-17T23:28:17.6829685Z" --resource-group "Blob-Backup" --vault-name "ZBlobBackupVaultBVTD3"

Required Parameters

--source-data-store-type

Gets or sets the type of the source data store.

Property Value
Accepted values: ArchiveStore, OperationalStore, VaultStore

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--backup-instance-name

The name of the backup instance.

Property Value
Parameter group: Resource Id Arguments
--end-time

End time for the List Restore Ranges request. ISO 8601 format.

--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.

Property Value
Parameter group: Resource Id Arguments
--resource-group -g

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

Property Value
Parameter group: Resource Id Arguments
--start-time

Start time for the List Restore Ranges request. ISO 8601 format.

--subscription

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

Property Value
Parameter group: Resource Id Arguments
--vault-name -v

The name of the backup vault.

Property Value
Parameter group: Resource Id Arguments
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

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

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

--verbose

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

Property Value
Default value: False