Database Backup and Recovery (MOSC)

MOSC Banner

Cataloged obsolete datafilecopy but report obsolete does not show it

edited May 13, 2014 12:00PM in Database Backup and Recovery (MOSC) 4 commentsAnswered

hi,

We found an "old" datafilecopy(COPY1) sitting around on disk for some reason and would like to delete them. How do I know they are obsolete? These files were created many months ago and our recovery window is 14 days. Instead of "rm" them, I thought it is much cleaner for RMAN to catalog them and delete them as obsolete backup copies. What I did was,

1. catalog datafile copy 'path/datafilecopyname.dbf';

It was successfully cataloged. I can see them in v$backup_copy_details.

2. Report obsolete did NOT show them

I had another "old" datafilecopy(COPY2) which I cataloged the same way. This one was reported as "obsolete" and I was able to delete it using "delete obsolete" command.

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