Database Backup and Recovery (MOSC)

MOSC Banner

Using RMAN to restore database with a different name on same machine

I wanted to clone a current running environment and create a new one on the same machine using a different name.

I am used to perform this activity frequently but it is restoring to a different machine. I tried to use the same method but hitting with a problem saying the control file which I restored belongs to the source DB while the new DB is a different name. I understand why it's prompting the error, however how do i workaround it?

Usually when I restore the DB to a different machine I'm taking the below steps

  1. Set oracle sid as sourceDB

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