Solved

identifying rman backup pieces

Posted on 2014-10-08
3
31 Views
Last Modified: 2016-05-18
i want to restore 30th sep end of the day backup of RMan.

How I do ensure that I do not miss even a single backup piece from RMAN.

When I tried with the TAG from v$backup_piece_details  it only gave me archive backup pieces

Can I get the queries to find the RMAN backup pieces including archives for a given date and also Rman commands

Regards
Ram
0
Comment
Question by:Venugopal Ganduri
3 Comments
 
LVL 7

Accepted Solution

by:
Stampel earned 500 total points
Comment Utility
Hello,

First use the following RMAN command :
LIST BACKUP OF DATABASE;

Second, copy the TAG that you are interested in restoring.
Let's say this TAG is "TAG20140317T094905"

Third, use the command with the previous TAG it will restore everything you need
RESTORE DATABASE FROM TAG 'TAG20140317T094905';
or
RECOVER DATABASE FROM TAG 'TAG20140317T094905' ARCHIVELOG TAG 'TAGXXXXX'


Here are some usefull commands
============================
LIST BACKUP;
LIST BACKUP SUMMARY;
LIST INCARNATION;
LIST BACKUP BY FILE;
LIST BACKUP OF ARCHIVELOG ALL;
LIST BACKUP OF ARCHIVELOG FROM SEQUENCE 1437;
LIST COPY OF DATABASE ARCHIVELOG ALL;
LIST COPY OF DATAFILE 1, 2, 3;
LIST BACKUP OF DATAFILE 11 SUMMARY;
LIST CONTROLFILECOPY "/tmp/cntrlfile.copy";
LIST BACKUPSET OF DATAFILE 1;
crosscheck archivelog all;
crosscheck backup;
delete force obsolete;


Regards,
Stampel
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…

772 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now