Ask the Expert

Steps for recovering database with RMAN hot backup

I took the RMAN hot backup on database open stage. What steps should I follow to recover the database using the RMAN hot backup? Can I do it in database mount stage or open stage?

    Requires Free Membership to View

There are two steps to getting your database open, restoring the missing datafiles and applying recovery. The first place to start is the Oracle documentation on how to use RMAN to perform these operations.

If you have preconfigured your RMAN channels, you can have RMAN open your database quite easily by performing the following in RMAN:

RESTORE DATABASE;

RECOVER DATABASE;
If you feel you need to put the database in a specific mode (MOUNT, NOMOUNT, OPEN), you can still perform these operations in SQL*Plus, or you can have RMAN issue the commands for you similar to the following:
STARTUP NOMOUNT;

ALTER DATABASE OPEN;
The commands to start up the database in MOUNT mode and open the database are the same in RMAN as in SQL*Plus.

This was first published in February 2006

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: