Database Reference
In-Depth Information
We have already discussed the basics of recovering your Oracle
database. You now know how to use the
RESTORE
and
RECOVER
commands to recover your database to the point of failure.
In this chapter, we will cover more advanced recovery topics. First, we will cover RMAN
incarnations, and then we will introduce you to RMAN database duplication. After that, we
will discuss tablespace point-in-time recovery and disaster recovery of your Oracle database.
Finally, we will discuss configuring and using Oracle Secure Backup (OSB), which is a new
objective in the Oracle Database 12
c
OCP exam.
Exam objectives are subject to change at any time without prior notice and
at Oracle's sole discretion. Please visit Oracle's Training and Certification
website (
http://www.oracle.com/education/certification/)
for the
most current exam-objectives listing.
Switching between RMAN Incarnations
We introduced you to the idea of RMAN incarnations in Chapter 2 and have talked about
incarnations in several other chapters. A
database incarnation
is the measure of the logical
lifetime of an Oracle database. A database's first incarnation begins when it is created and
ends whenever the
RESETLOGS
option is used to open the database. The next incarnation
starts at the point of the
RESETLOGS
operation and ends at the point of the next
RESETLOGS
operations and so on. When a new incarnation is started, the log sequence numbers are
reset, the online redo logs are flushed, and the database literally has a new future.
Sometimes when performing RMAN operations it is necessary to reset to a previous data-
base incarnation. This is pretty rare and is typically done in cases where you have restored
your database using point-in-time recovery. After such cases, if you need to perform another
restore and that restore needs to be to an SCN that is before the current resetlog SCN, then
you will have to reset the database incarnation.
For example, look at this output of this
LIST INCARNATION
command:
RMAN> list incarnation;
using target database control file instead of recovery catalog
List of Database Incarnations
Search WWH ::
Custom Search