Database Backup and Recovery (MOSC)

MOSC Banner

RMAN Duplicate hangs

edited Jan 15, 2019 10:44AM in Database Backup and Recovery (MOSC) 8 commentsAnswered

I’m duplicating a production database to a new machine.  The instance will have a new name, but everything else will be the same (IE: asm names).  The auxiliary database is mounted, but not open.  The command I’m running is:


connect target sys/*******@orginal_database

connect auxiliary /

run

{

allocate channel c0 device type disk;

allocate auxiliary channel a0 device type disk; 

duplicate target database to dup_database

   backup location ‘/dmsbackup/original_database/’

   nofilenamecheck;

}

Exit;

 

The script successfully:

  -connects to both databases

  -creates the control file in +DATA/DUP_DATABASE/CONTROLFILE

  -identifies the backups necessary

  -execute several memory scripts including (SET UNTIL CLAUSE and SET NEWNAME)

Tagged:

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