Updating a User-Defined Protection Policy
While Oracle-defined protection policies cannot be modified, you can update the configuration of a user-defined custom protection policy.
When you edit a protection policy, you can also update its tags. For more
information about tagging, see Resource Tags.
Using the Console
- On the Protection policies list, select the protection policy that you want to work with. See Listing Protection Policies for detailed steps to access the list page.
- From the Actions menu for the policy, select Edit.
- Enter a new name for the protection policy, if necessary.
- In the Backup retention period (in days)
field, you can update the retention period. You can specify a value ranging
from 14 days to 95 days.
Note
If you have enabled the retention lock and if the scheduled lock date is earlier than the current date, it indicates that the retention period is permanently locked. In this case, you can only increase the backup retention period for the policy. - If the scheduled lock date is greater than the current date, then you can clear the Enable retention lock option to disable the lock. See, Using Retention Lock to Protect Backups for more information.
- Select Save changes.
Using the CLI
Use the oci recovery protection-policy update command and the required parameters to update a protection policy.
See Autonomous Recovery Service CLI Command Reference for a complete list of parameters and values for CLI commands.
Using the API
Run the UpdateProtectionPolicy API operation to update a protection policy.
Parent topic: Managing Protection Policies