1.9. Describing Retention Policies

The retention policy is the determined length of time that a backup is retained for use in a potential restore. The retention policy is determined by the configuration parameter RETENTION POLICY. This can be displayed with the SHOW ALL command.

Backups can be modified to block or obsolete their status from the retention policy. The commands CHANGE and KEEP modify the backup to be blocked from the retention policy. Two other commands—CHANGE and NOKEEP—obsoletes the backup from the existing retention policy.

Let's walk through an example of modifying a database retention policy:

RMAN> show all; RMAN configuration parameters are: CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default CONFIGURE BACKUP OPTIMIZATION ...

Get OCP: Oracle 10g Administration II Study Guide: Exam 1Z0-043 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.