You must create an Oracle instance before you start the recovery procedure. Because you had the starter database (ORCL) when reinstalling Oracle, we recommend that you create the instance for ORCL1.
To recover ORCL1 database
Note: If it is an offline backup, then no further recovery is needed. Proceed to the section Recover the ORCL2 Database in this appendix. If it is an online backup, continue with the next step.
LOG_ARCHIVE_START LOG_ARCHIVE_DEST LOG_ARCHIVE_FORMAT
recover database using backup controlfile until cancel;
alter database open resetlogs;
Note: If the database does not open and a message reports on the status of the redo logs, enter the following query at the Server Manager or SQL*Plus prompt:
select * from v$logfile
This query returns, among other information, the directory structure in which Oracle looks for the redo logs. If the directory structure does not exist, create it. When you have done so, enter the following command again:
alter database open resetlogs;
Oracle should open the database and recreate the redo logs.
Important! The following step is very important. Do not omit it.
The ORCL1 database is now fully recovered. You can now proceed to the second phase, recovering the ORCL2 database.
Copyright © 2016 |
|