az dataprotection restorable-time-range

Note

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

Command group 'az dataprotection' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus

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 Experimental

az dataprotection restorable-time-range find

Experimental

Command group 'az dataprotection restorable-time-range' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus

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.

accepted values: ArchiveStore, OperationalStore, VaultStore

Optional Parameters

--backup-instance-name

The name of the backup instance.

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

--resource-group -g

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

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

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