Solved

no recent backup oracle

Posted on 2013-06-05
3
406 Views
Last Modified: 2013-06-26
Are there any useful queries or free tools that you could use to identify oracle databases which havent had a recent backup? Say for example as DBA you've inherited 30 new Oracle Databases and you want a quick way to ensure there is a backup RMAN job configured per database and its been backing up the databases - how would you do these, via a SQL query? via a piece of softare? MSSQL has a multitude of tools to run over MSSQL instance to see which databases have had a recent backup and which havent. I assume oracle will have as well.
0
Comment
Question by:pma111
  • 2
3 Comments
 
LVL 29

Accepted Solution

by:
MikeOM_DBA earned 250 total points
ID: 39223198
You could query the V$BACKUP_xxxx views.
Perhaps "V$BACKUP_SET_SUMMARY"?
:p
0
 
LVL 12

Assisted Solution

by:praveencpk
praveencpk earned 250 total points
ID: 39224788
Yes you can get the info mation in data dictionary views as mentioned in above post and if you have configured catalog DB then you can use the below mention views.

rc_backupset_summary
rc_backup_set

Also you can check the below site for more info.

http://www.dba-oracle.com/t_oracle_rman_days_since_last_backup.htm

http://www.pythian.com/blog/viewing-rma-jobs-status-and-output/
0
 
LVL 29

Expert Comment

by:MikeOM_DBA
ID: 39226785
In order to be SURE you have good backup, connect to rman and execute this:
RMAN> RESTORE DATABASE PREVIEW;

Open in new window

The results will indicate what you would need to restore the db and (if you have catalog) if the backup files are available.
:p
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Via a live example, show how to take different types of Oracle backups using RMAN.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question