You have a couple of options. The first one I'd suggest is to use CROSSCHECK to remove any backups that no longer exist. The RMAN command is:
There are other options, so consult the RMAN Reference Guide. The CROSSCHECK command does not remove the backups from RMAN. It marks backups as AVAILABLE, UNAVAILABLE, or EXPIRED. You can use the DELETE EXPIRED command to remove the expired backups.
Another thing that you should consider doing is using the DELETE OBSOLETE command on a regularly scheduled basis. This can remove those backups from RMAN that are no longer needed for recovery.
Finally, to change the status of an RMAN backup, use the CHANGE command. For instance, to change backupset #1234 to UNAVAILABLE, use the following command:
CHANGE BACKUPSET 1234 UNAVAILABLE
Dig Deeper on Oracle database backup and recovery
Related Q&A from Brian Peasland
Oracle expert Brian Peasland answers one reader's question about common pitfalls when connecting Oracle to outside programs. Continue Reading
One reader asks expert Brian Peasland a question about datafile sizes with the Oracle RMAN duplicate 10g command. Continue Reading
Managing parent table-child table relations in Oracle SQL environments is key to efficient programming. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.