Assigning a Backup Policy to a Volume
Learn how to assign a backup policy to an existing user- or Oracle-defined volume.
Use the
oci bv volume-backup-policy-assignment createcommand and specify the--asset-id,--policy-idand--xrc-kms-key-idparameters to assign a user- or Oracle-defined backup policy to a volume:oci bv volume-backup-policy-assignment create --asset-id <volume_ID> --policy-id <policy_ID> --xrc-kms-key-id <kms_key_ID>For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the
CreateVolumeBackupPolicyAssignmentoperation and specify theassetIdandpolicyIdattributes in aCreateVolumeBackupPolicyAssignmentDetailsresource to assign a backup policy to a volume.