CmdID / az / az dataprotection / az dataprotection backup-instance
az dataprotection backup-instance validate-for-restore
Validates if Restore can be triggered for a DataSource Azure CLI extensions reference
2 examples 5 options Its page in the Azure CLI extensions reference
Examples
Validate for restore
az dataprotection backup-instance validate-for-restore -g sample_rg --vault-name sample_backupvault --backup-instance-name sample_biname-fd53a211-3f3e-4c7e-ba45-81050e27c0be --restore-request-object restorerequestobject.jsonIdentify-gName of resource group.--vault-nameThe name of the backup vault.--backup-instance-nameThe name of the backup instance.--restore-request-objectGets or sets the restore request object.Validate for cross-region-restore
az dataprotection backup-instance validate-for-restore -g sample_rg --vault-name sample_backupvault --backup-instance-name sample_biname-fd53a211-3f3e-4c7e-ba45-81050e27c0be --restore-request-object restorerequestobject.json --use-secondary-regionIdentify-gName of resource group.--vault-nameThe name of the backup vault.--backup-instance-nameThe name of the backup instance.--restore-request-objectGets or sets the restore request object.--use-secondary-regionUse this flag to restore from a recoverypoint in secondary region.Options
--backup-instance-name, --name, -nThe name of the backup instance.--resource-group, -gName of resource group.--restore-request-objectGets or sets the restore request object.--use-secondary-regionUse this flag to restore from a recoverypoint in secondary region.--vault-name, -vThe name of the backup vault.