SlideShare a Scribd company logo
2
Most read
3
Most read
Anar Godjaev

Backup & Recovery Procedure
Anar Godjaev
Introduction
In general, backup and recovery refers to the various strategies and procedures involved in
protecting your database against data loss and reconstructing the database after any kind of data
loss.
Oracle various kinds of backup like Physical, Logical.
Physical Backup is backups of physical files used in database like controlfile, datafile and
archivelog files.
Logical Backup contain logical data, like table and procedure, exported from the database with
oracle export utility and stored in binary format

1. Type of failures
Following are the types of failures that require recovery from the backup:
•

User Error
User errors occur when, either due to an error in application logic or a manual misstep; data
in your database is changed or deleted incorrectly. Data loss due to user error includes such
missteps as dropping important tables or deleting or changing the contents of a table. While
user training and careful management of privileges can prevent most user errors, your
backup strategy determines how gracefully you recover the lost data when user error does
cause data loss.

•

Media Failure
A media failure is the failure of a read or write of a disk file required to run the database, due
to a physical problem with the disk such as a head crash. Any database file can be vulnerable
to a media failure.

2. Backup options in Oracle
•

Physical backups




•

Cold (off-line) backup




Full database only
Require downtime
Not flexible for point in time recovery

Hot (on-line) backup

Different types of backups: full, incremental,
archive logs

No need of database downtime

Database can be recovered to any point in
time ,based on backup retention period

Logical backups



Logical copy of data in the database (like tables, packages)
Can be taken either with Export/Import tools or with Data Pump (10g/11g)
Anar Godjaev

3. Perform backup and recovery based on physical backups
There are two ways to perform backup and recovery based on physical backups:
•

Recovery Manager (RMAN)
RMAN is as a tool (with command-line client and Enterprise Manager GUI interfaces) that
integrates with sessions running on the Oracle server to perform backup and recovery activity

•

User Managed
In user managed backup user has to make the periodic backup of all the datafiles, control
files, parameter files using operating system commands and recovery the database using
SQL* Plus recovery command

4. Recovery Manager (RMAN)
RMAN can back up entire database; all datafiles in a tablespace, selected datafiles, control
files and archived redo log files.
•

Benefits of RMAN









RMAN is a tool that comes at no extra cost. It is available free with the Oracle Database.
Supports incremental backup strategies
Supports parallel operations (Multiple Channels for Backup and Restore)
RMAN can detect corrupted blocks
Controlfiles and spfile of database can be configured to automatically backup by RMAN
Knows what needs to be backup
Knows what is required for the recovery
Remembers location of the backup sets

5. RMAN Incremental Backup
RMAN incremental backups back up only datafile blocks that have changed since a specified
previous backup. Incremental backups can be of full databases, individual tablespaces or
datafiles. For full backups, if database is in ARCHIVELOG mode, you can make incremental
backups if the database is open; if the database is in NOARCHIVELOG mode, then you can
only make incremental backups after a consistent shutdown.
•

Level 0 and Level 1 Incremental Backups
Incremental backups can be either level 0 or level 1. A level 0 incremental backup, which is
the base for subsequent incremental backups, copies all blocks containing data, backing the
datafile up into a backup set just as a full backup would.
Incremental level 1 backup can be of two types


Differential Backup
It backs up all blocks changed after the most recent incremental backup at level 1 or 0
Anar Godjaev


Cumulative Backup
It backs up all blocks changed after the most recent incremental backup at level 0.
The size and the time to take backup solely depend upon the number of modified and
incremental backup level.

6. RMAN Setup
•

RMAN configuration
RMAN has been configured to support the backup and recover strategies. The backup
strategy is as follows,



•

A level zero backup on Sundays
A level one cumulative backup on the remaining days

RMAN configuration parameters
The configuration parameters are as follows


Configure RMAN to backup the control file after each backup.
CONFIGURE CONTROLFILE AUTOBACKUP ON;



Configure RMAN to write controlfile autobackups to the /backup directory.
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO
'<backup_path>/%F';



Configure RMAN to use <no of cpu> disk channels for backup, restore, recovery, and
maintenance operations.
CONFIGURE DEVICE TYPE DISK PARALLELISM <no of cpu>;



Configure the channel to use <no of cpu> disk channels for backup, restore, recovery,
and maintenance operations.
CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT ‘<path for backup>/ ora_df%t_s%s_s
%p';

•

RMAN backup scripts


The level 0 backup script is as follows:
RMAN> BACKUP INCREMENTAL LEVEL 0 DATABASE PLUS ARCHIVELOG;



The level 1 backup script is as follows:
RMAN> BACKUP INCREMENTAL LEVEL 1 CUMULATIVE DATABASE PLUS ARCHIVELOG;
Anar Godjaev
•

RMAN restore and recovery scenarios
Case 1: Datafile recovery
This section assumes that datafile 5 has been damaged and needs to be restored and
recovered, and that the current controlfile and all other datafiles are intact. The database is
open during the restore and recovery.
The steps are:


Offline the datafile that needs recovery
RMAN> SQL 'ALTER DATABASE DATAFILE 5 OFFLINE';



Restore the datafile from backups
RMAN> RESTORE DATAFILE 5;



Recover the datafile
RMAN> RECOVER DATAFILE 5;



Make online recovered datafile
RMAN> SQL 'ALTER DATABASE DATAFILE 5 ONLINE';

Case 2: Tablespace recovery
This section assumes that tablespace tbs_5, containing datafiles 5, 6, and 7 has been
damaged and needs to be restored and recovered, and that the current controlfile and all
other datafiles are intact. The database is open during the restore and recovery.
The steps are:


Offline the tablespace that needs recovery
RMAN> SQL 'ALTER TABLESPACE TBS_5 OFFLINE';



Restore the tablespace from backups
RMAN> RESTORE TABLESPACE TBS_5;



Recover the tablespace
RMAN>RECOVER TABLESPACE TBS_5;



Online the recovered tablespace
RMAN>SQL 'ALTER TABLESPACE TBS_5 ONLINE';
Anar Godjaev
Case 3: Disaster recovery
This section assumes that all control files, data files and parameter files are lost. To perform
recovery in this case, the initialization parameters needs to be restored manually by editing
the default initialization parameter file available in the ORACLE_HOME path and set the
parameters according to the requirements. Then use RMAN to restore and recover the
database as described below.
The commands below assume that all initialization parameter files are restored and the
complete directory structures for datafiles are recreated.


Login to RMAN command prompt
$rman target /



Set the DBID of the database
Set dbid <DBID of database to restore>



Start the database in nomount mode
RMAN> STARTUP NOMOUNT;



Restore the control file from backup
RMAN>RESTORE CONTROLFILE FROM ‘<path_of_backup>/<latest controlfile from backup>;



Change the database from nomunt mode to mount mode
RMAN> ALTER DATABASE MOUNT;



Restore the database
RMAN> RESTORE DATABASE;



Recover the database
RMAN> RECOVER DATABASE;



Open the database with resetlogs
RMAN> ALTER DATABASE OPEN RESETLOGS;

You must take a new whole database backup after resetlogs, since backups of previous
incarnation are not easily usable.
Anar Godjaev
Case 3: Disaster recovery
This section assumes that all control files, data files and parameter files are lost. To perform
recovery in this case, the initialization parameters needs to be restored manually by editing
the default initialization parameter file available in the ORACLE_HOME path and set the
parameters according to the requirements. Then use RMAN to restore and recover the
database as described below.
The commands below assume that all initialization parameter files are restored and the
complete directory structures for datafiles are recreated.


Login to RMAN command prompt
$rman target /



Set the DBID of the database
Set dbid <DBID of database to restore>



Start the database in nomount mode
RMAN> STARTUP NOMOUNT;



Restore the control file from backup
RMAN>RESTORE CONTROLFILE FROM ‘<path_of_backup>/<latest controlfile from backup>;



Change the database from nomunt mode to mount mode
RMAN> ALTER DATABASE MOUNT;



Restore the database
RMAN> RESTORE DATABASE;



Recover the database
RMAN> RECOVER DATABASE;



Open the database with resetlogs
RMAN> ALTER DATABASE OPEN RESETLOGS;

You must take a new whole database backup after resetlogs, since backups of previous
incarnation are not easily usable.

More Related Content

DOCX
Backup and Restore of database on 2-Node RAC
PPTX
10 Problems with your RMAN backup script
PDF
What is new on 12c for Backup and Recovery? Presentation
PDF
Rman Presentation
PDF
153 Oracle dba interview questions
PPT
Oracle backup and recovery
PPTX
What’s new in oracle 12c recovery manager (rman)
PPTX
10 ways to improve your rman script
Backup and Restore of database on 2-Node RAC
10 Problems with your RMAN backup script
What is new on 12c for Backup and Recovery? Presentation
Rman Presentation
153 Oracle dba interview questions
Oracle backup and recovery
What’s new in oracle 12c recovery manager (rman)
10 ways to improve your rman script

What's hot (20)

PDF
RMAN – The Pocket Knife of a DBA
PDF
Backup and recovery in oracle
DOCX
Dba 3+ exp qus
DOC
Oracle data guard configuration in 12c
PPT
Oracle Data Guard
PDF
RMAN in 12c: The Next Generation (PPT)
DOCX
Rac questions
PDF
Oracle Database Backups and Disaster Recovery @ Autodesk
PPT
Les 03 catalog
PPTX
Oracle Basics and Architecture
PPSX
Oracle database 12c new features
PPT
Less04 Instance
PPTX
Why virtual private catalog?
PPT
Dataguard presentation
PPTX
Data Guard Architecture & Setup
PPT
Xpp c user_rec
PDF
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
PPT
Les 02 config
PPT
Les 08 tune_rman
PPT
High Availability And Oracle Data Guard 11g R2
RMAN – The Pocket Knife of a DBA
Backup and recovery in oracle
Dba 3+ exp qus
Oracle data guard configuration in 12c
Oracle Data Guard
RMAN in 12c: The Next Generation (PPT)
Rac questions
Oracle Database Backups and Disaster Recovery @ Autodesk
Les 03 catalog
Oracle Basics and Architecture
Oracle database 12c new features
Less04 Instance
Why virtual private catalog?
Dataguard presentation
Data Guard Architecture & Setup
Xpp c user_rec
Nabil Nawaz Oracle Oracle 12c Data Guard Deep Dive Presentation
Les 02 config
Les 08 tune_rman
High Availability And Oracle Data Guard 11g R2
Ad

Viewers also liked (15)

PDF
Step by Step Restore rman to different host
PDF
RMAN best practices for RAC
PDF
Oracle database 12 c on oracle linux 7.3
PDF
10 Problems with your RMAN backup script - whitepaper
PDF
Oracle Exadata Interview Questions and Answers
PPT
forms builder
PDF
12c on RHEL7
PPT
1 - Introduction to PL/SQL
DOCX
Asm disk group migration from
DOCX
Table Partitions
DOCX
Oracle GoldenGate
DOCX
Wait Interface
DOCX
Tuning SGA
DOCX
Oracle Golden Gate
DOCX
How to protect your sensitive data using oracle database vault / Creating and...
Step by Step Restore rman to different host
RMAN best practices for RAC
Oracle database 12 c on oracle linux 7.3
10 Problems with your RMAN backup script - whitepaper
Oracle Exadata Interview Questions and Answers
forms builder
12c on RHEL7
1 - Introduction to PL/SQL
Asm disk group migration from
Table Partitions
Oracle GoldenGate
Wait Interface
Tuning SGA
Oracle Golden Gate
How to protect your sensitive data using oracle database vault / Creating and...
Ad

Similar to Backup and Recovery Procedure (20)

PPT
Les 07 rman_rec
PPTX
Backup & recovery with rman
PPT
Backups And Recovery
DOC
Backup&recovery
PPT
Les 05 create_bu
PPT
5895640.ppt
PPT
7035416.ppt
PPT
Les 07 Rman Rec
PDF
Collaborate 2012 - RMAN Eliminate the mystery
PDF
How to survive a disaster with RMAN
PPT
Less15 Backups
PPT
Les 05 Create Bu
PDF
Oracle backup
PPT
40179_Bednar.ppt Oracle Database Upgrade Assistant
PDF
Oracle 12c New Features_RMAN_slides
PDF
Backup andrecoverychecklist
PDF
Oracle Backup Solutions Overview August 2018
PDF
Collaborate 2012 - RMAN eliminate the mystery
PDF
Ioug tip book11_gunukula
PDF
Backup andrecoverychecklist
Les 07 rman_rec
Backup & recovery with rman
Backups And Recovery
Backup&recovery
Les 05 create_bu
5895640.ppt
7035416.ppt
Les 07 Rman Rec
Collaborate 2012 - RMAN Eliminate the mystery
How to survive a disaster with RMAN
Less15 Backups
Les 05 Create Bu
Oracle backup
40179_Bednar.ppt Oracle Database Upgrade Assistant
Oracle 12c New Features_RMAN_slides
Backup andrecoverychecklist
Oracle Backup Solutions Overview August 2018
Collaborate 2012 - RMAN eliminate the mystery
Ioug tip book11_gunukula
Backup andrecoverychecklist

More from Anar Godjaev (20)

DOCX
how to protect your sensitive data using oracle database vault
DOCX
Database Vault / Verinin Güvenliği
PDF
Oracle 10g Database Server Kurulum
DOCX
DataPump ile Single Parititon Export
DOCX
Redologlar ve Yöneti̇mi̇
DOCX
Contraints
DOCX
Oracle SQL
DOCX
Veri̇tabani ve Kullanici Yöneti̇mi̇
DOCX
Instance ve Media Bozukluklarını Inceleme
DOCX
Conditional Control
DOCX
PL/SQL Blocks
DOCX
Audit Mekani̇zmasi
DOCX
Parallel Server
DOCX
Backup and Recovery
DOCX
Memory Management
DOCX
LogMiner
DOCX
Undo Management
DOCX
DOCX
Oracle Managed Files
DOC
Recovery Manager (RMAN)
how to protect your sensitive data using oracle database vault
Database Vault / Verinin Güvenliği
Oracle 10g Database Server Kurulum
DataPump ile Single Parititon Export
Redologlar ve Yöneti̇mi̇
Contraints
Oracle SQL
Veri̇tabani ve Kullanici Yöneti̇mi̇
Instance ve Media Bozukluklarını Inceleme
Conditional Control
PL/SQL Blocks
Audit Mekani̇zmasi
Parallel Server
Backup and Recovery
Memory Management
LogMiner
Undo Management
Oracle Managed Files
Recovery Manager (RMAN)

Recently uploaded (20)

PDF
KodekX | Application Modernization Development
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Approach and Philosophy of On baking technology
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Electronic commerce courselecture one. Pdf
PPTX
A Presentation on Artificial Intelligence
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
KodekX | Application Modernization Development
Machine learning based COVID-19 study performance prediction
Digital-Transformation-Roadmap-for-Companies.pptx
The AUB Centre for AI in Media Proposal.docx
Reach Out and Touch Someone: Haptics and Empathic Computing
NewMind AI Weekly Chronicles - August'25 Week I
Building Integrated photovoltaic BIPV_UPV.pdf
MYSQL Presentation for SQL database connectivity
The Rise and Fall of 3GPP – Time for a Sabbatical?
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Approach and Philosophy of On baking technology
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Chapter 3 Spatial Domain Image Processing.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Network Security Unit 5.pdf for BCA BBA.
Electronic commerce courselecture one. Pdf
A Presentation on Artificial Intelligence
Build a system with the filesystem maintained by OSTree @ COSCUP 2025

Backup and Recovery Procedure

  • 1. Anar Godjaev Backup & Recovery Procedure
  • 2. Anar Godjaev Introduction In general, backup and recovery refers to the various strategies and procedures involved in protecting your database against data loss and reconstructing the database after any kind of data loss. Oracle various kinds of backup like Physical, Logical. Physical Backup is backups of physical files used in database like controlfile, datafile and archivelog files. Logical Backup contain logical data, like table and procedure, exported from the database with oracle export utility and stored in binary format 1. Type of failures Following are the types of failures that require recovery from the backup: • User Error User errors occur when, either due to an error in application logic or a manual misstep; data in your database is changed or deleted incorrectly. Data loss due to user error includes such missteps as dropping important tables or deleting or changing the contents of a table. While user training and careful management of privileges can prevent most user errors, your backup strategy determines how gracefully you recover the lost data when user error does cause data loss. • Media Failure A media failure is the failure of a read or write of a disk file required to run the database, due to a physical problem with the disk such as a head crash. Any database file can be vulnerable to a media failure. 2. Backup options in Oracle • Physical backups   • Cold (off-line) backup    Full database only Require downtime Not flexible for point in time recovery Hot (on-line) backup  Different types of backups: full, incremental, archive logs  No need of database downtime  Database can be recovered to any point in time ,based on backup retention period Logical backups   Logical copy of data in the database (like tables, packages) Can be taken either with Export/Import tools or with Data Pump (10g/11g)
  • 3. Anar Godjaev 3. Perform backup and recovery based on physical backups There are two ways to perform backup and recovery based on physical backups: • Recovery Manager (RMAN) RMAN is as a tool (with command-line client and Enterprise Manager GUI interfaces) that integrates with sessions running on the Oracle server to perform backup and recovery activity • User Managed In user managed backup user has to make the periodic backup of all the datafiles, control files, parameter files using operating system commands and recovery the database using SQL* Plus recovery command 4. Recovery Manager (RMAN) RMAN can back up entire database; all datafiles in a tablespace, selected datafiles, control files and archived redo log files. • Benefits of RMAN         RMAN is a tool that comes at no extra cost. It is available free with the Oracle Database. Supports incremental backup strategies Supports parallel operations (Multiple Channels for Backup and Restore) RMAN can detect corrupted blocks Controlfiles and spfile of database can be configured to automatically backup by RMAN Knows what needs to be backup Knows what is required for the recovery Remembers location of the backup sets 5. RMAN Incremental Backup RMAN incremental backups back up only datafile blocks that have changed since a specified previous backup. Incremental backups can be of full databases, individual tablespaces or datafiles. For full backups, if database is in ARCHIVELOG mode, you can make incremental backups if the database is open; if the database is in NOARCHIVELOG mode, then you can only make incremental backups after a consistent shutdown. • Level 0 and Level 1 Incremental Backups Incremental backups can be either level 0 or level 1. A level 0 incremental backup, which is the base for subsequent incremental backups, copies all blocks containing data, backing the datafile up into a backup set just as a full backup would. Incremental level 1 backup can be of two types  Differential Backup It backs up all blocks changed after the most recent incremental backup at level 1 or 0
  • 4. Anar Godjaev  Cumulative Backup It backs up all blocks changed after the most recent incremental backup at level 0. The size and the time to take backup solely depend upon the number of modified and incremental backup level. 6. RMAN Setup • RMAN configuration RMAN has been configured to support the backup and recover strategies. The backup strategy is as follows,   • A level zero backup on Sundays A level one cumulative backup on the remaining days RMAN configuration parameters The configuration parameters are as follows  Configure RMAN to backup the control file after each backup. CONFIGURE CONTROLFILE AUTOBACKUP ON;  Configure RMAN to write controlfile autobackups to the /backup directory. CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '<backup_path>/%F';  Configure RMAN to use <no of cpu> disk channels for backup, restore, recovery, and maintenance operations. CONFIGURE DEVICE TYPE DISK PARALLELISM <no of cpu>;  Configure the channel to use <no of cpu> disk channels for backup, restore, recovery, and maintenance operations. CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT ‘<path for backup>/ ora_df%t_s%s_s %p'; • RMAN backup scripts  The level 0 backup script is as follows: RMAN> BACKUP INCREMENTAL LEVEL 0 DATABASE PLUS ARCHIVELOG;  The level 1 backup script is as follows: RMAN> BACKUP INCREMENTAL LEVEL 1 CUMULATIVE DATABASE PLUS ARCHIVELOG;
  • 5. Anar Godjaev • RMAN restore and recovery scenarios Case 1: Datafile recovery This section assumes that datafile 5 has been damaged and needs to be restored and recovered, and that the current controlfile and all other datafiles are intact. The database is open during the restore and recovery. The steps are:  Offline the datafile that needs recovery RMAN> SQL 'ALTER DATABASE DATAFILE 5 OFFLINE';  Restore the datafile from backups RMAN> RESTORE DATAFILE 5;  Recover the datafile RMAN> RECOVER DATAFILE 5;  Make online recovered datafile RMAN> SQL 'ALTER DATABASE DATAFILE 5 ONLINE'; Case 2: Tablespace recovery This section assumes that tablespace tbs_5, containing datafiles 5, 6, and 7 has been damaged and needs to be restored and recovered, and that the current controlfile and all other datafiles are intact. The database is open during the restore and recovery. The steps are:  Offline the tablespace that needs recovery RMAN> SQL 'ALTER TABLESPACE TBS_5 OFFLINE';  Restore the tablespace from backups RMAN> RESTORE TABLESPACE TBS_5;  Recover the tablespace RMAN>RECOVER TABLESPACE TBS_5;  Online the recovered tablespace RMAN>SQL 'ALTER TABLESPACE TBS_5 ONLINE';
  • 6. Anar Godjaev Case 3: Disaster recovery This section assumes that all control files, data files and parameter files are lost. To perform recovery in this case, the initialization parameters needs to be restored manually by editing the default initialization parameter file available in the ORACLE_HOME path and set the parameters according to the requirements. Then use RMAN to restore and recover the database as described below. The commands below assume that all initialization parameter files are restored and the complete directory structures for datafiles are recreated.  Login to RMAN command prompt $rman target /  Set the DBID of the database Set dbid <DBID of database to restore>  Start the database in nomount mode RMAN> STARTUP NOMOUNT;  Restore the control file from backup RMAN>RESTORE CONTROLFILE FROM ‘<path_of_backup>/<latest controlfile from backup>;  Change the database from nomunt mode to mount mode RMAN> ALTER DATABASE MOUNT;  Restore the database RMAN> RESTORE DATABASE;  Recover the database RMAN> RECOVER DATABASE;  Open the database with resetlogs RMAN> ALTER DATABASE OPEN RESETLOGS; You must take a new whole database backup after resetlogs, since backups of previous incarnation are not easily usable.
  • 7. Anar Godjaev Case 3: Disaster recovery This section assumes that all control files, data files and parameter files are lost. To perform recovery in this case, the initialization parameters needs to be restored manually by editing the default initialization parameter file available in the ORACLE_HOME path and set the parameters according to the requirements. Then use RMAN to restore and recover the database as described below. The commands below assume that all initialization parameter files are restored and the complete directory structures for datafiles are recreated.  Login to RMAN command prompt $rman target /  Set the DBID of the database Set dbid <DBID of database to restore>  Start the database in nomount mode RMAN> STARTUP NOMOUNT;  Restore the control file from backup RMAN>RESTORE CONTROLFILE FROM ‘<path_of_backup>/<latest controlfile from backup>;  Change the database from nomunt mode to mount mode RMAN> ALTER DATABASE MOUNT;  Restore the database RMAN> RESTORE DATABASE;  Recover the database RMAN> RECOVER DATABASE;  Open the database with resetlogs RMAN> ALTER DATABASE OPEN RESETLOGS; You must take a new whole database backup after resetlogs, since backups of previous incarnation are not easily usable.