Steps to recover a oracle 8i database, when you have the database
(provided you are having the complete directory structure)
- in no archive log mode
- no backups
Recovery process
- Backup the files (initdb.ora, pwddb.ora, oradata, admin folders and any other directory structure where tablespaces exists) from the existing structure .
- Copy initdb.ora & pwddb.ora files into the Oracle_Home/database directory structure, where you have installed your oracle binaries.
- Execute the command "ORADIM -NEW -SID sid -INTPWD password -STARTMODE m -PFILE ORACLE_HOME\DATABASE\initdb.ora"
- sqlplus /nolog
- connect internal/oracle as sysdba
- startup pfile= ORACLE_HOME\DATABASE\initdb.ora nomount
- open init.ora file and check the directory structure of the control files & copy your existing control files by creating the same directory structure.
- Execute the command alter database mount
- select * from v$controlfiles;
- select name from v$database;
- create & copy the directory structures of the data files
- Execute the command alter database open;
Once the database is completely mounted and opened, make sure you crosscheck
your recovered data.
No comments:
Post a Comment