Use the following procedure to recover the ORA database.
To recover the ORA database
Note: If it is an offline backup, then no further recovery is needed. You have now completed recovery of your Oracle server.
startup mount pfile=DRIVE:\PATH\initORA.ora
recover database using backup controlfile until cancel;
alter database open resetlogs
If the database does not open and a message reports on the status of the redo logs, enter the following query at the 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.
oradim -new -sid SID -srvc ServiceName -intpwd Password -startmode auto | manual -pfile FullPathToOracleInitSIDFile
Copyright © 2016 |
|