CmdID / az / az dataprotection / az dataprotection backup-policy
az dataprotection backup-policy create
Create a backup policy belonging to a backup vault. Azure CLI extensions reference
1 example 3 options Its page in the Azure CLI extensions reference
Examples
Create Backup Policy
az dataprotection backup-policy create -g sarath-rg --vault-name sarath-vault -n mypolicy --policy policy.jsonIdentify-gName of resource group.--vault-nameThe name of the backup vault.-nName of the policy--policyRequest body for operation Expected value: json-string/@json-file.Options
--backup-policy-name, --name, -nName of the policy--policyRequest body for operation Expected value: json-string/@json-file.--vault-name, -vThe name of the backup vault.