Database Backup and Recovery (MOSC)

MOSC Banner

Rename directory on asm after clone database

edited Dec 17, 2013 11:00PM in Database Backup and Recovery (MOSC) 2 commentsAnswered
Hello, After restore and recover a prod database on a new machine. I use a nid tool to rename database PROD (SID=PROD) to DEV1

On new machine, the datafiles are on ASM in PROD directory

         +DATA/PROD/datafile/indx.319.797612503

          +DATA/PROD/datafile/undotbs1.271.797593735

          +DATA/PROD/datafile/system.269.797593723

  How  have all  datafiles in a DEV1 directory and  drop PROD directory ?

       +DATA/DEV1/datafile/indx.319.797612503

          +DATA/DEV1/datafile/undotbs1.271.797593735

          +DATA/DEV1/datafile/system.269.797593723

 I need to perform this action, to avoid confusion  when I restore another dump of PROD on this machine and to rename it to DEV2

Best Regards,

Djam

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