Creating a Protection Policy

Use this procedure to create a custom protection policy.

Required IAM Policy
RECOVERY_SERVICE_POLICY_CREATE
  1. Log in to your OCI tenancy.
  2. In the navigation menu, click Oracle Database, and select Database Backups to display the Database Backups page.
  3. Click Protection Policies.
  4. Click Create protection policy.
    The Create protection policy panel is displayed.
  5. In the Name field, specify a name for the policy.
  6. In the Create in compartment field, select the compartment where you want to create the protection policy.
  7. In the Backup retention period (in days) field, specify the maximum number of days to retain backups using this policy.

You can specify a minimum period of 14 days and a maximum period of 95 days for retaining backups using this policy.

  1. (Optional) Use these steps to lock the backup retention period.
    1. Select Enable retention lock.
    2. In the Scheduled lock time field, select a date that occurs at least 14 days after the current date.
      Recovery Service mandates a minimum delay of 14 days to permanently lock the retention period. During the delay period, you can either increase or decrease the retention period or disable the lock, if necessary. At the end of the specified time delay, the backup retention period is permanently locked. You are only allowed to increase the retention period.
  2. To specify additional features, select Show advanced options. In the Tag namespace field, consider adding a tag namespace (an identifying text string applied to a set of compartments), or tagging the control with an existing tag namespace.
  3. Click Create.
The protection policy is created.