az backup recoveryconfig
Manage recovery configuration of an Azure workload backed up item.
Commands
Name | Description | Type | Status |
---|---|---|---|
az backup recoveryconfig show |
Construct the recovery configuration of an Azure workload backed up item. |
Core | GA |
az backup recoveryconfig show
Construct the recovery configuration of an Azure workload backed up item.
az backup recoveryconfig show --restore-mode {AlternateWorkloadRestore, OriginalWorkloadRestore, RestoreAsFiles}
[--backup-management-type {AzureIaasVM, AzureStorage, AzureWorkload}]
[--container-name]
[--filepath]
[--from-full-rp-name]
[--ids]
[--item-name]
[--log-point-in-time]
[--resource-group]
[--rp-name]
[--subscription]
[--target-container-name]
[--target-instance-name]
[--target-item-name]
[--target-resource-group]
[--target-server-name]
[--target-server-type {HANAInstance, SAPHanaDatabase, SAPHanaSystem, SQLAG, SQLDatabase, SQLInstance}]
[--target-subscription-id]
[--target-vault-name]
[--vault-name]
[--workload-type {MSSQL, SAPASE, SAPHANA, SAPHanaDatabase, SQLDataBase}]
Examples
Construct the recovery configuration of an Azure workload backed up item. The configuration object stores all details such as the recovery mode, target destinations for the restore and application specific parameters like target physical paths for SQL.
az backup recoveryconfig show --container-name MyContainer --item-name MyItem --resource-group MyResourceGroup --vault-name MyVault --restore-mode OriginalWorkloadRestore
Required Parameters
Specify the restore mode.
Optional Parameters
Specify the backup management type. Define how Azure Backup manages the backup of entities within the ARM resource. For eg: AzureWorkloads refers to workloads installed within Azure VMs, AzureStorage refers to entities within Storage account. Required only if friendly name is used as Container name.
Name of the backup container. Accepts 'Name' or 'FriendlyName' from the output of az backup container list command. If 'FriendlyName' is passed then BackupManagementType is required.
The path to which the DB should be restored as files.
Name of the starting Recovery point.
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.
Name of the backed up item.
Specify the point-in-time (in UTC) which will be restored.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the recovery point.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
The target container to which the DB recovery point should be restored.
Specify the target instance name for the restore operation.
Specify the target item name for the restore operation.
Specify the resource group of target item for Cross Region Restore. Default value will be same as --resource-group if not specified.
Specify the parent server name of the target item.
Specify the type of the server which should be discovered.
Specify the subscription of the target item for Cross Subscription Restore. Defaulted to source subscription if not specified.
Specify the vault name of target item for Cross Region Restore. Default value will be same as --vault-name if not specified.
Name of the Recovery services vault.
Specify the type of applications within the Resource which should be discovered and protected by Azure Backup. 'MSSQL' and 'SQLDataBase' can be used interchangeably for SQL in Azure VM, as can 'SAPHANA' and 'SAPHanaDatabase' for SAP HANA in Azure VM.
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.