Clone An Oracle Database Using Rman Duplicate
Clone An Oracle Database Using Rman Duplicate
echo $ORACLE_SID
If this doesn't output the new database sid go back and investigate why not.
7. Create an spfile
From sqlplus:
create spfile from pfile;
shutdown immediate
startup
Now that the clone is built, we no longer need the file_name_convert settings:
alter system reset db_file_name_convert scope=spfile sid='*'
/
alter system reset log_file_name_convert scope=spfile sid='*'