Professional Documents
Culture Documents
In this Document
Goal
Solution
Applies to:
Oracle Server - Enterprise Edition - Version: 07.03.04 to 11.1.1
Information in this document applies to any platform.
Goal
This note gives a step by step guide about how to manually clone or restore the database to a different host.
Solution
1) Prerequisites
----------------
- The copy of the datafiles must be done with the database closed or the database must be in ARCHIVELOG mode,
- Copy the controlfile(s), all the datafiles and all the archivelogs generated, to the target host.
If database is open then, you need to put all the tablespaces in backup mode, before starting the copy:
5) If Windows Platform, create a new NT service for the duplicate database using oradim.
oradim -new -sid <SID> -intpwd <password> -maxusers 10 -startmode manual -spfile '<spfile>'
or
oradim -new -sid <SID> -intpwd <password> -maxusers 10 -startmode manual -pfile '<pfile>'
Forward the database applying archived redo log files until you decide
to stop recovery by typing cancel at the prompt (assuming that you have
required archived redo log files in the log_archive_dest directory)
You may archive the source database redo log files and apply them at
the target database if required.
8) In Windows platforms, if you want that the database will start automatically then edit the registry:
regedit
go to HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOMEX
change the key : ORA_<SID>_AUTOSTART=TRUE