Database Backup and Recovery (MOSC)

MOSC Banner

RMAN backup retention

edited Oct 3, 2013 4:20AM in Database Backup and Recovery (MOSC) 17 commentsAnswered
I have Oracle 11.2 and use db control file to keep RMAN backup records. 

I have the following retention settings:

controlfile_record_keep_time of 35 days
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 30 DAYS;

I run the following command to backup archive log files every hour (no keep until time statement specified in the statement): 

BACKUP as compressed backupset ARCHIVELOG ALL tag ARCHLOG DELETE INPUT;
delete noprompt obsolete;

When I checked the above data backup set, they are kept in 35 days instead of 30 days. Why does RMAN not mark them as obsolete based on the configure retention policy other than applying the db parameter settings - 35 days? Does RMAN take the following precedence for backup retention?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center