Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> RMAN delete obsolete
If I specify a recovery window of 7 days internal to rman, then perform
a backup using a recovery windows of 2 days(see below). Which one will
take recedence?
I'm looking for a way to have the rman catalog be aware of 7 days worth of backups exists but I only want to keep 2 on disk. OS backups are taken nightly. Will the below do the job???
run { backup database plus archivelog; }
report obsolete;
delete noprompt force obsolete recovery window 2;
resync catalog;
exit;
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
Received on Thu May 05 2005 - 13:34:33 CDT