Rman backup retention policy

There are two mutually exclusive options for implementing a retention policy: redundancy and recovery window. If no retention policy is configured by the user, then the REPORT OBSOLETE andDELETE OBSOLETE commands use a default retention policy of REDUNDANCY 1.
To configure a retention policy based on a recovery window, use the following command:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW      :   configure retention policy to recovery window  of  7 days;

To configure a retention policy based on redundancy, use the following command:
CONFIGURE RETENTION POLICY TO REDUNDANCY  2

You can also disable the retention policy completely, meaning that RMAN does not consider any backup to be obsolete. To do so, use the following command:

CONFIGURE RETENTION POLICY TO NONE

ARCH: Archival disabled due to shutdown: 1089

cause: This is expected behavior. in 10g.During shutdown, there are some activities to shutdown ARCH processes. These messages are written to alert & trace when this ARCH shutdown processing starts. This is new code in 10g kcrr.c kcrrshut(). The messages themselves don't seem to be so significant, because it just tells us that we're doing a shutdown (and that there are couple more background processes still alive at that point). You can safely ignore this error/trace files. No impact to the database



select type, record_size, records_total, records_used from  v$controlfile_record_section;

TYPE                         RECORD_SIZE RECORDS_TOTAL RECORDS_USED
---------------------------- ----------- ------------- ------------
ARCHIVED LOG                        584           308            0
BACKUP SET                            40           409            0


NOTE
=====
You should keep the recovery window time period less than or equal to the value of the control file parameter CONTROL_FILE_RECORD_KEEP_TIME to prevent the record of older backups from being overwritten in the control file.


主题:  Rman backup retention policy
文档 ID:  注释:462978.1 类型:  BULLETIN
上次修订日期:  22-NOV-2007 

Recovery Window 

 

请使用浏览器的分享功能分享到微信等