Database Backup and Recovery (MOSC)

MOSC Banner

Good script for getting missing backup information using SQL and RMAN repository

edited Nov 4, 2009 6:27AM in Database Backup and Recovery (MOSC) 1 commentAnswered
Here is another script that I have created to get "good" information about backups. It will look at each individual file and flag them if they have not been backed up at all for the past 2 days or hasn't had a level 0 backup in the past 8 days (at the file level). Because of this, you get the "full" picture of your backups, at the "file" level, not at the backupset level, which can be misleading.

Since the RMAN base tables changed slightly from 10g to 11g (to get to work with 10g, change all occurrences of "reset_time" to "cf_create_time"), this particular script works with the 11g repository (no subrepositories). You should be able to run this as is.

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