Cloning Oracle 9i Database
I have searched the Forus for this and didn't find any prior posting.
Can some one post the steps to clone a oracle 9i Database as it has spfile concept.
The database is not a REal Application Cluster Databse.Its a stand alone database.
Environment:
Source Server:
OS: AIX 5.1
Database: Oracle9i R9.2
Destination Server:
OS: AIX 5.1
Database: Oracle9i R9.2
Thanks for all the posting(s).
same as u would with older versions
1.backup the source datafiles
2.restore to target
3.issue "alter database backup controlfile to trace"
4.find the last file created under $ORACLE_BASE/admin/$ORACLE_SID/udump destination and copy over to target (lets call it /export/home/oracle/clone.sql)
5. modify the clone.sql if target mount points and database name are different
6. on target "startup mount" --> @clone.sql -->"recover database using backup controlfile until cancel"
7. apply the last of archives and bring it online by issuing "alter database open resetlogs"
walla!
:)