az backup recoveryconfig

Manage recovery configuration of an Azure workload backed up item.

Commands

az backup recoveryconfig show

Construct the recovery configuration of an Azure workload backed up item.

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]
                              [--target-container-name]
                              [--target-item-name]
                              [--target-resource-group]
                              [--target-server-name]
                              [--target-server-type {HANAInstance, SAPHanaDatabase, SAPHanaSystem, SQLAG, SQLDatabase, SQLInstance}]
                              [--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

--restore-mode

Specify the restore mode.

accepted values: AlternateWorkloadRestore, OriginalWorkloadRestore, RestoreAsFiles

Optional Parameters

--backup-management-type

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.

accepted values: AzureIaasVM, AzureStorage, AzureWorkload
default value: AzureWorkload
--container-name -c

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.

--filepath

The path to which the DB should be restored as files.

--from-full-rp-name

Name of the starting Recovery point.

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

--item-name -i

Name of the backed up item.

--log-point-in-time

Specify the point-in-time (in UTC) which will be restored.

--resource-group -g

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

--rp-name -r

Name of the recovery point.

--target-container-name

The target container to which the DB recovery point should be downloaded as files.

--target-item-name

Specify the target item name for the restore operation.

--target-resource-group

Specify the resource group of target item for Cross Region Restore. Default value will be same as --resource-group if not specified.

--target-server-name

Specify the parent server name of the target item.

--target-server-type

Specify the type of the server which should be discovered.

accepted values: HANAInstance, SAPHanaDatabase, SAPHanaSystem, SQLAG, SQLDatabase, SQLInstance
--target-vault-name

Specify the vault name of target item for Cross Region Restore. Default value will be same as --vault-name if not specified.

--vault-name -v

Name of the Recovery services vault.

--workload-type

Specify the type of applications within the Resource which should be discovered and protected by Azure Backup.

accepted values: MSSQL, SAPASE, SAPHANA, SAPHanaDatabase, SQLDataBase