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
- Set oracle sid as sourceDB