Database Backup and Recovery (MOSC)

MOSC Banner

How to set retention?

edited Nov 20, 2009 11:30AM in Database Backup and Recovery (MOSC) 4 commentsAnswered
Hello All, I'm using the following in backing up the database

RECOVER COPY OF DATABASE WITH TAG 'incr_update' UNTIL TIME 'SYSDATE - 7';
BACKUP INCREMENTAL LEVEL 1 FOR RECOVER OF COPY WITH TAG 'incr_update' DATABASE PLUS ARCHIVELOG;

As per the documentation, from the 8th day onwards RECOVER COPY... UNTIL TIME statement applies the level 1 incremental from seven days ago to the copy of the database. The BACKUP INCREMENTAL... FOR RECOVER OF COPY >statement creates an incremental backup containing the changes for the previous day.

In the above scenario how the retention is maintained, do we need to set using configure command in RMAN, if so can we set retention to 8 days?

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