- find out DBID of lost database. This can done by checking control file autobackup location.
- $ export ORACLE_SID=TEST
- $ sqlplus / as sysdba
- SQL> startup force nomount
- Restore spfile
$rman
rman> set dbid=4885937635
rman> connect catalog rman/rman@dbcatalog
rman> restore spfile from autobackup;
rman> shutdown immediate;
rman> startup nomount - Restore the control file and mount database from restored control file.
rman> restore controlfile from autobackup;
rman> alter database mount; - Restore the datafile and perform media recovery.
rman> restore database;
rman> recover database;
rman> alter database open resetlogs;
Friday, July 4, 2008
Recovery from Complete Loss (No Controlfile)
Recovery from complete loss (no control file and no pfile or spfile)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment