CmdID

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

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

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

3 in the Azure CLI extensions reference
--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.