Duplicate Database - RMAN - 10.2.0.4 - script error - Page 2
DBAsupport.com Forums - Powered by vBulletin
Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Duplicate Database - RMAN - 10.2.0.4 - script error

  1. #11
    Join Date
    Mar 2011
    Posts
    9
    Thanks I am going to try this on Monday, I appreciate your response!

  2. #12
    Join Date
    Aug 2011
    Posts
    2

    is run block allowed in run block

    Hi DanceRat,
    I am in same boat .Is log_file_name_convert allowed in run block.
    I have 3 log group on target(source).Each has 2 members.

    target ->aux

    u01/oradata/prod/redo01.log ->/ora1/oradata/aux//redo01.log
    /u02/oradata/prod/redo01b.log->/ora2/oradata/aux//redo0b.log


    /u01/oradata/prod/redo02.log->/ora1/oradata/aux//redo02.log
    /u02/oradata/prod/redo02b.log-/ora2/oradata/aux//redo02b.log



    /u01/oradata/prod/redo03.log->/ora1/oradata/aux//redo03.log
    /u02/oradata/prod/redo03b.log->/ora2/oradata/aux//redo03b.log


    run {
    ALLOCATE AUXILIARY CHANNEL aux1 DEVICE TYPE DISK;
    ALLOCATE AUXILIARY CHANNEL aux2 DEVICE TYPE DISK;
    ALLOCATE AUXILIARY CHANNEL aux3 DEVICE TYPE DISK;
    set until time "to_date('24-Jun-11 10:22:00','DD-MON-YY HH24:MI:SS')";
    DUPLICATE TARGET DATABASE TO "test"
    PFILE=/opt/oracle/product/10.2/db_1/dbs/inittest.ora
    DB_FILE_NAME_CONVERT='/u01/oradata/prod/', '/ora1/oradata/test/'
    log_file_name_convert='/u01/oradata/prod/','/ora1/oradata/test/','/u02/oradata/prod/','/ora2/oradata/test/'

    release channel aux_01;
    release channel aux_02;
    }

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width