CmdID / az / az backup / az backup restore
az backup restore restore-disks
Restore disks of the backed VM from the specified recovery point. Azure CLI reference
23 options Its page in the Azure CLI reference
Options
--cvm-os-des-idDisk encryption set ID for the OS disk of confidential VMs.--disk-access-optionSpecify the disk access option for target disks.--disk-encryption-set-idThe disk encryption set id is used for encrypting restored disks.--mi-system-assignedUse this flag to specify whether a system-assigned managed identity should be used for the restore operation.--mi-user-assignedARM ID of the user-assigned managed identity to use for the restore operation.--rehydration-durationSet the maximum time, in days (between 10-30, both inclusive) for which the recovery point stays in hydrated state.--rehydration-priority, --restore-mode, --diskslist--restore-as-unmanaged-disksUse this flag to specify to restore as unmanaged disks--restore-only-osdiskUse this flag to restore only OS disks of a backed up VM.--restore-to-edge-zoneSwitch parameter to indicate edge zone VM restore.--restore-to-staging-storage-accountUse this flag when you want disks to be restored to the staging storage account using the --storage-account parameter.--storage-account-resource-groupName of the resource group which contains the storage account.--storage-accountName or ID of the staging storage account.--target-disk-access-idSpecify the target disk access ID when --disk-access-option is set to EnablePrivateAccessForAllDisks--target-resource-group, -tUse this to specify the target resource group in which the restored disks will be saved--target-subnet-nameName of the subnet in which the target VM should be created, in the case of Alternate Location restore a new VM--target-subscription-idID of the subscription to which the resource should be restored--target-vm-nameName of the VM to which the data should be restored, in the case of Alternate Location restore to a new VM.--target-vnet-nameName of the VNet in which the target VM should be created, in the case of Alternate Location restore to a new VM.--target-vnet-resource-groupName of the resource group which contains the target VNet, in the case of Alternate Location restore to a new VM.--target-zoneA primary region currently can have three Azure availability zones.--tenant-idID of the tenant if the Resource Guard protecting the vault exists in a different tenant.--use-secondary-regionUse this flag to restore from a recoverypoint in secondary region.