Database Backup and Recovery (MOSC)

MOSC Banner

Cloning database with different SID name

edited Jan 7, 2010 8:27AM in Database Backup and Recovery (MOSC) 4 commentsAnswered ✓
 Hi

I have two test databases "TrgtA" and "TrgtB" on same database server.  Performed a clean shutdown/ cold backup on "TrgtA" and copied the datafiles and control files to the appropriate location in "TrgtB" database.

based on the command alter database I then created a control file from "TrgtA" and modified, and executed the new controlfile to apply to "TrgtB" .  Please let me know if the steps need modification. I assumed that I would need to create the controlfile, since the SID name is different. Your assistance is appreciated.

SQL> connect sys/password@TrgtB as sysdba

Connected to an idle instance.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center