Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

identifying rman backup pieces

Posted on 2014-10-08
3
Medium Priority
?
91 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
1 Comment
 
LVL 7

Accepted Solution

by:
Stampel earned 2000 total points
ID: 40370325
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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  â€¦
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.
Suggested Courses
Course of the Month15 days, 19 hours left to enroll

580 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