Oracle 12c Rman Duplicate Archive Log Not Verified Announcing the arrival of Valued Associate...

The following signatures were invalid: EXPKEYSIG 1397BC53640DB551

Classification of bundles, Postnikov towers, obstruction theory, local coefficients

Mortgage adviser recommends a longer term than necessary combined with overpayments

Can smartphones with the same camera sensor have different image quality?

Keep going mode for require-package

Writing Thesis: Copying from published papers

Estimate capacitor parameters

How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time

How can I make names more distinctive without making them longer?

Why use gamma over alpha radiation?

Limit for e and 1/e

New Order #5: where Fibonacci and Beatty meet at Wythoff

Windows 10: How to Lock (not sleep) laptop on lid close?

Make it rain characters

How to retrograde a note sequence in Finale?

Losing the Initialization Vector in Cipher Block Chaining

Aligning matrix of nodes with grid

How did the aliens keep their waters separated?

Notation for two qubit composite product state

What is the electric potential inside a point charge?

Why don't the Weasley twins use magic outside of school if the Trace can only find the location of spells cast?

Statistical model of ligand substitution

Determine whether f is a function, an injection, a surjection

How should I respond to a player wanting to catch a sword between their hands?



Oracle 12c Rman Duplicate Archive Log Not Verified



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)RMAN-06054: media recovery requesting unknown archived log, Where is SCN kept?Failure Of Backup Due To Limit Exceeded For Recovery Files Since Cannot Reclaim Disk Space [RMAN-03009,ORA-19809,ORA-19804]Not receiving archivelogs from production to remote sidehow to prevent an oracle block corruption from duplicating a database with a few nologging tablesRestore data from an old rman backup - ORA-01152Oracle 12 startup issue: disk full?RMAN 12C SETTING UP AUXILIARY INSTANCEORA-01196: file 1 is inconsistent due to a failed media recovery sessionRestoring RMAN backup in Oracle 9i to another serverOracle sysasm user unable to write to spfile





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







3















I am trying to duplicate a DB from live to dev but it is failing. Can anybody advise what is going wrong? Both databases are running Oracle 12c. All database files seem to be copied over but it fails when trying to apply the archive logs.



I am running a full database and archive log backup before executing the DUPLICATE command.



Command



RUN{
DUPLICATE TARGET DATABASE TO UAT
FROM ACTIVE DATABASE
USING BACKUPSET
SPFILE
set control_files 'E:oracleproduct12.1.0oradataUATCONTROLFILEcf1.ctl','E:oracleproduct12.1.0oradataUATCONTROLFILEcf2.ctl','E:oracleproduct12.1.0oradataUATCONTROLFILEcf3.ctl'
set db_recovery_file_dest 'L:ORACLEORADATAUAT'
set db_create_file_dest 'E:oracleproduct12.1.0oradata'
set log_archive_dest_1 'LOCATION=L:BACKUPUATRMAN_BACKUPS'
set log_archive_dest_2 'LOCATION=L:ORACLEORADATAUATARCHIVELOG'
set audit_file_dest 'E:oracleadminUATadump'
set core_dump_dest 'E:oracleadminUATcdump'
nofilenamecheck;
}


Error



Finished restore at 24-MAY-16

sql statement: alter system archive log current
current log archived

contents of Memory Script:
{
restore clone force from service 'ENGSPH'
archivelog from scn 2661373093;
switch clone datafile all;
}
executing Memory Script

Starting restore at 24-MAY-16
using channel ORA_AUX_DISK_1

channel ORA_AUX_DISK_1: starting archived log restore to default destination
channel ORA_AUX_DISK_1: using network backup set from service ENGSPH
channel ORA_AUX_DISK_1: restoring archived log
archived log thread=1 sequence=5659
Oracle instance started

Total System Global Area 2147483648 bytes

Fixed Size 3047720 bytes
Variable Size 822087384 bytes
Database Buffers 1308622848 bytes
Redo Buffers 13725696 bytes

contents of Memory Script:
{
sql clone "alter system set db_name =
''UAT'' comment=
''Reset to original value by RMAN'' scope=spfile";
sql clone "alter system reset db_unique_name scope=spfile";
shutdown clone immediate;
}
executing Memory Script

sql statement: alter system set db_name = ''UAT'' comment= ''Reset to original
value by RMAN'' scope=spfile

sql statement: alter system reset db_unique_name scope=spfile

Oracle instance shut down
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 05/24/2016 16:26:55
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script

ORA-19845: error in backupArchivedLog while communicating with remote database s
erver
ORA-17628: Oracle error 19571 returned by remote Oracle server
ORA-19571: RECID STAMP not found in control file
ORA-19660: some files in the backup set could not be verified
ORA-19662: archived log thread 1 sequence 5659 could not be verified
ORA-19845: error in backupArchivedLog while communicating with remote database s
erver
ORA-17628: Oracle error 19571 returned by remote Oracle server
ORA-19571: RECID STAMP not found in control file


Thanks for any help.










share|improve this question














bumped to the homepage by Community 11 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • could you please tell us how you connected to rman? For example `rman target sys/*****@prod auxiliary sys/*****@dev

    – ora-600
    May 25 '16 at 14:07


















3















I am trying to duplicate a DB from live to dev but it is failing. Can anybody advise what is going wrong? Both databases are running Oracle 12c. All database files seem to be copied over but it fails when trying to apply the archive logs.



I am running a full database and archive log backup before executing the DUPLICATE command.



Command



RUN{
DUPLICATE TARGET DATABASE TO UAT
FROM ACTIVE DATABASE
USING BACKUPSET
SPFILE
set control_files 'E:oracleproduct12.1.0oradataUATCONTROLFILEcf1.ctl','E:oracleproduct12.1.0oradataUATCONTROLFILEcf2.ctl','E:oracleproduct12.1.0oradataUATCONTROLFILEcf3.ctl'
set db_recovery_file_dest 'L:ORACLEORADATAUAT'
set db_create_file_dest 'E:oracleproduct12.1.0oradata'
set log_archive_dest_1 'LOCATION=L:BACKUPUATRMAN_BACKUPS'
set log_archive_dest_2 'LOCATION=L:ORACLEORADATAUATARCHIVELOG'
set audit_file_dest 'E:oracleadminUATadump'
set core_dump_dest 'E:oracleadminUATcdump'
nofilenamecheck;
}


Error



Finished restore at 24-MAY-16

sql statement: alter system archive log current
current log archived

contents of Memory Script:
{
restore clone force from service 'ENGSPH'
archivelog from scn 2661373093;
switch clone datafile all;
}
executing Memory Script

Starting restore at 24-MAY-16
using channel ORA_AUX_DISK_1

channel ORA_AUX_DISK_1: starting archived log restore to default destination
channel ORA_AUX_DISK_1: using network backup set from service ENGSPH
channel ORA_AUX_DISK_1: restoring archived log
archived log thread=1 sequence=5659
Oracle instance started

Total System Global Area 2147483648 bytes

Fixed Size 3047720 bytes
Variable Size 822087384 bytes
Database Buffers 1308622848 bytes
Redo Buffers 13725696 bytes

contents of Memory Script:
{
sql clone "alter system set db_name =
''UAT'' comment=
''Reset to original value by RMAN'' scope=spfile";
sql clone "alter system reset db_unique_name scope=spfile";
shutdown clone immediate;
}
executing Memory Script

sql statement: alter system set db_name = ''UAT'' comment= ''Reset to original
value by RMAN'' scope=spfile

sql statement: alter system reset db_unique_name scope=spfile

Oracle instance shut down
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 05/24/2016 16:26:55
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script

ORA-19845: error in backupArchivedLog while communicating with remote database s
erver
ORA-17628: Oracle error 19571 returned by remote Oracle server
ORA-19571: RECID STAMP not found in control file
ORA-19660: some files in the backup set could not be verified
ORA-19662: archived log thread 1 sequence 5659 could not be verified
ORA-19845: error in backupArchivedLog while communicating with remote database s
erver
ORA-17628: Oracle error 19571 returned by remote Oracle server
ORA-19571: RECID STAMP not found in control file


Thanks for any help.










share|improve this question














bumped to the homepage by Community 11 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • could you please tell us how you connected to rman? For example `rman target sys/*****@prod auxiliary sys/*****@dev

    – ora-600
    May 25 '16 at 14:07














3












3








3


1






I am trying to duplicate a DB from live to dev but it is failing. Can anybody advise what is going wrong? Both databases are running Oracle 12c. All database files seem to be copied over but it fails when trying to apply the archive logs.



I am running a full database and archive log backup before executing the DUPLICATE command.



Command



RUN{
DUPLICATE TARGET DATABASE TO UAT
FROM ACTIVE DATABASE
USING BACKUPSET
SPFILE
set control_files 'E:oracleproduct12.1.0oradataUATCONTROLFILEcf1.ctl','E:oracleproduct12.1.0oradataUATCONTROLFILEcf2.ctl','E:oracleproduct12.1.0oradataUATCONTROLFILEcf3.ctl'
set db_recovery_file_dest 'L:ORACLEORADATAUAT'
set db_create_file_dest 'E:oracleproduct12.1.0oradata'
set log_archive_dest_1 'LOCATION=L:BACKUPUATRMAN_BACKUPS'
set log_archive_dest_2 'LOCATION=L:ORACLEORADATAUATARCHIVELOG'
set audit_file_dest 'E:oracleadminUATadump'
set core_dump_dest 'E:oracleadminUATcdump'
nofilenamecheck;
}


Error



Finished restore at 24-MAY-16

sql statement: alter system archive log current
current log archived

contents of Memory Script:
{
restore clone force from service 'ENGSPH'
archivelog from scn 2661373093;
switch clone datafile all;
}
executing Memory Script

Starting restore at 24-MAY-16
using channel ORA_AUX_DISK_1

channel ORA_AUX_DISK_1: starting archived log restore to default destination
channel ORA_AUX_DISK_1: using network backup set from service ENGSPH
channel ORA_AUX_DISK_1: restoring archived log
archived log thread=1 sequence=5659
Oracle instance started

Total System Global Area 2147483648 bytes

Fixed Size 3047720 bytes
Variable Size 822087384 bytes
Database Buffers 1308622848 bytes
Redo Buffers 13725696 bytes

contents of Memory Script:
{
sql clone "alter system set db_name =
''UAT'' comment=
''Reset to original value by RMAN'' scope=spfile";
sql clone "alter system reset db_unique_name scope=spfile";
shutdown clone immediate;
}
executing Memory Script

sql statement: alter system set db_name = ''UAT'' comment= ''Reset to original
value by RMAN'' scope=spfile

sql statement: alter system reset db_unique_name scope=spfile

Oracle instance shut down
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 05/24/2016 16:26:55
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script

ORA-19845: error in backupArchivedLog while communicating with remote database s
erver
ORA-17628: Oracle error 19571 returned by remote Oracle server
ORA-19571: RECID STAMP not found in control file
ORA-19660: some files in the backup set could not be verified
ORA-19662: archived log thread 1 sequence 5659 could not be verified
ORA-19845: error in backupArchivedLog while communicating with remote database s
erver
ORA-17628: Oracle error 19571 returned by remote Oracle server
ORA-19571: RECID STAMP not found in control file


Thanks for any help.










share|improve this question














I am trying to duplicate a DB from live to dev but it is failing. Can anybody advise what is going wrong? Both databases are running Oracle 12c. All database files seem to be copied over but it fails when trying to apply the archive logs.



I am running a full database and archive log backup before executing the DUPLICATE command.



Command



RUN{
DUPLICATE TARGET DATABASE TO UAT
FROM ACTIVE DATABASE
USING BACKUPSET
SPFILE
set control_files 'E:oracleproduct12.1.0oradataUATCONTROLFILEcf1.ctl','E:oracleproduct12.1.0oradataUATCONTROLFILEcf2.ctl','E:oracleproduct12.1.0oradataUATCONTROLFILEcf3.ctl'
set db_recovery_file_dest 'L:ORACLEORADATAUAT'
set db_create_file_dest 'E:oracleproduct12.1.0oradata'
set log_archive_dest_1 'LOCATION=L:BACKUPUATRMAN_BACKUPS'
set log_archive_dest_2 'LOCATION=L:ORACLEORADATAUATARCHIVELOG'
set audit_file_dest 'E:oracleadminUATadump'
set core_dump_dest 'E:oracleadminUATcdump'
nofilenamecheck;
}


Error



Finished restore at 24-MAY-16

sql statement: alter system archive log current
current log archived

contents of Memory Script:
{
restore clone force from service 'ENGSPH'
archivelog from scn 2661373093;
switch clone datafile all;
}
executing Memory Script

Starting restore at 24-MAY-16
using channel ORA_AUX_DISK_1

channel ORA_AUX_DISK_1: starting archived log restore to default destination
channel ORA_AUX_DISK_1: using network backup set from service ENGSPH
channel ORA_AUX_DISK_1: restoring archived log
archived log thread=1 sequence=5659
Oracle instance started

Total System Global Area 2147483648 bytes

Fixed Size 3047720 bytes
Variable Size 822087384 bytes
Database Buffers 1308622848 bytes
Redo Buffers 13725696 bytes

contents of Memory Script:
{
sql clone "alter system set db_name =
''UAT'' comment=
''Reset to original value by RMAN'' scope=spfile";
sql clone "alter system reset db_unique_name scope=spfile";
shutdown clone immediate;
}
executing Memory Script

sql statement: alter system set db_name = ''UAT'' comment= ''Reset to original
value by RMAN'' scope=spfile

sql statement: alter system reset db_unique_name scope=spfile

Oracle instance shut down
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 05/24/2016 16:26:55
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script

ORA-19845: error in backupArchivedLog while communicating with remote database s
erver
ORA-17628: Oracle error 19571 returned by remote Oracle server
ORA-19571: RECID STAMP not found in control file
ORA-19660: some files in the backup set could not be verified
ORA-19662: archived log thread 1 sequence 5659 could not be verified
ORA-19845: error in backupArchivedLog while communicating with remote database s
erver
ORA-17628: Oracle error 19571 returned by remote Oracle server
ORA-19571: RECID STAMP not found in control file


Thanks for any help.







oracle oracle-12c rman duplication






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked May 24 '16 at 15:40









scampbellscampbell

1185




1185





bumped to the homepage by Community 11 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 11 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • could you please tell us how you connected to rman? For example `rman target sys/*****@prod auxiliary sys/*****@dev

    – ora-600
    May 25 '16 at 14:07



















  • could you please tell us how you connected to rman? For example `rman target sys/*****@prod auxiliary sys/*****@dev

    – ora-600
    May 25 '16 at 14:07

















could you please tell us how you connected to rman? For example `rman target sys/*****@prod auxiliary sys/*****@dev

– ora-600
May 25 '16 at 14:07





could you please tell us how you connected to rman? For example `rman target sys/*****@prod auxiliary sys/*****@dev

– ora-600
May 25 '16 at 14:07










1 Answer
1






active

oldest

votes


















0














Could you please tell us how you connected to rman?



For example:



rman target sys/asdf@prod auxiliary sys/asdf@dev


The reason for you problem is that the two databases have trouble communicating with each other.



If you use auxiliary / because your rman session is located on the dev server this is not going to work. The reason is pretty simple as follows.



Lets say your rman session was opened on server dev. You use this connection:



rman target sys/asdf@prod auxiliary sys/asdf@dev


The auxiliary database uses the TNSalias "prod" to connect to the target database. The prod database uses the TNSalias "dev" to connect to the auxiliary database. This means you have to configure the tnsnames.ora on both sides to be able to connect to the other database. Since the rman session is on dev in this example you have to configure the TNSalias "dev" on dev as well.



Back to the example with auxiliary /, it is obvious now why it cannot work.



Then there are additional stuff to keep in mind. The auxiliary database needs to be restarted several times. In some cases you loose the connection to the auxiliary database when it shuts down. This means you have to configure the dev database in the SID_LIST of the listener on the dev server. And take care that the password file is present.



Well, this sounds like a lot configuration overhead. If you have to refresh your dev database frequently this is not a big deal. But I personally prefer to clone from backup location because this is much more simple. You can also skip the SPFILE clause when you create it manually. In my experience you need 2 or 3 attempts to work out the correct parameter conversion. If some parameters change on your prod database you might have to adjust this clause again.






share|improve this answer
























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "182"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f139385%2foracle-12c-rman-duplicate-archive-log-not-verified%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Could you please tell us how you connected to rman?



    For example:



    rman target sys/asdf@prod auxiliary sys/asdf@dev


    The reason for you problem is that the two databases have trouble communicating with each other.



    If you use auxiliary / because your rman session is located on the dev server this is not going to work. The reason is pretty simple as follows.



    Lets say your rman session was opened on server dev. You use this connection:



    rman target sys/asdf@prod auxiliary sys/asdf@dev


    The auxiliary database uses the TNSalias "prod" to connect to the target database. The prod database uses the TNSalias "dev" to connect to the auxiliary database. This means you have to configure the tnsnames.ora on both sides to be able to connect to the other database. Since the rman session is on dev in this example you have to configure the TNSalias "dev" on dev as well.



    Back to the example with auxiliary /, it is obvious now why it cannot work.



    Then there are additional stuff to keep in mind. The auxiliary database needs to be restarted several times. In some cases you loose the connection to the auxiliary database when it shuts down. This means you have to configure the dev database in the SID_LIST of the listener on the dev server. And take care that the password file is present.



    Well, this sounds like a lot configuration overhead. If you have to refresh your dev database frequently this is not a big deal. But I personally prefer to clone from backup location because this is much more simple. You can also skip the SPFILE clause when you create it manually. In my experience you need 2 or 3 attempts to work out the correct parameter conversion. If some parameters change on your prod database you might have to adjust this clause again.






    share|improve this answer




























      0














      Could you please tell us how you connected to rman?



      For example:



      rman target sys/asdf@prod auxiliary sys/asdf@dev


      The reason for you problem is that the two databases have trouble communicating with each other.



      If you use auxiliary / because your rman session is located on the dev server this is not going to work. The reason is pretty simple as follows.



      Lets say your rman session was opened on server dev. You use this connection:



      rman target sys/asdf@prod auxiliary sys/asdf@dev


      The auxiliary database uses the TNSalias "prod" to connect to the target database. The prod database uses the TNSalias "dev" to connect to the auxiliary database. This means you have to configure the tnsnames.ora on both sides to be able to connect to the other database. Since the rman session is on dev in this example you have to configure the TNSalias "dev" on dev as well.



      Back to the example with auxiliary /, it is obvious now why it cannot work.



      Then there are additional stuff to keep in mind. The auxiliary database needs to be restarted several times. In some cases you loose the connection to the auxiliary database when it shuts down. This means you have to configure the dev database in the SID_LIST of the listener on the dev server. And take care that the password file is present.



      Well, this sounds like a lot configuration overhead. If you have to refresh your dev database frequently this is not a big deal. But I personally prefer to clone from backup location because this is much more simple. You can also skip the SPFILE clause when you create it manually. In my experience you need 2 or 3 attempts to work out the correct parameter conversion. If some parameters change on your prod database you might have to adjust this clause again.






      share|improve this answer


























        0












        0








        0







        Could you please tell us how you connected to rman?



        For example:



        rman target sys/asdf@prod auxiliary sys/asdf@dev


        The reason for you problem is that the two databases have trouble communicating with each other.



        If you use auxiliary / because your rman session is located on the dev server this is not going to work. The reason is pretty simple as follows.



        Lets say your rman session was opened on server dev. You use this connection:



        rman target sys/asdf@prod auxiliary sys/asdf@dev


        The auxiliary database uses the TNSalias "prod" to connect to the target database. The prod database uses the TNSalias "dev" to connect to the auxiliary database. This means you have to configure the tnsnames.ora on both sides to be able to connect to the other database. Since the rman session is on dev in this example you have to configure the TNSalias "dev" on dev as well.



        Back to the example with auxiliary /, it is obvious now why it cannot work.



        Then there are additional stuff to keep in mind. The auxiliary database needs to be restarted several times. In some cases you loose the connection to the auxiliary database when it shuts down. This means you have to configure the dev database in the SID_LIST of the listener on the dev server. And take care that the password file is present.



        Well, this sounds like a lot configuration overhead. If you have to refresh your dev database frequently this is not a big deal. But I personally prefer to clone from backup location because this is much more simple. You can also skip the SPFILE clause when you create it manually. In my experience you need 2 or 3 attempts to work out the correct parameter conversion. If some parameters change on your prod database you might have to adjust this clause again.






        share|improve this answer













        Could you please tell us how you connected to rman?



        For example:



        rman target sys/asdf@prod auxiliary sys/asdf@dev


        The reason for you problem is that the two databases have trouble communicating with each other.



        If you use auxiliary / because your rman session is located on the dev server this is not going to work. The reason is pretty simple as follows.



        Lets say your rman session was opened on server dev. You use this connection:



        rman target sys/asdf@prod auxiliary sys/asdf@dev


        The auxiliary database uses the TNSalias "prod" to connect to the target database. The prod database uses the TNSalias "dev" to connect to the auxiliary database. This means you have to configure the tnsnames.ora on both sides to be able to connect to the other database. Since the rman session is on dev in this example you have to configure the TNSalias "dev" on dev as well.



        Back to the example with auxiliary /, it is obvious now why it cannot work.



        Then there are additional stuff to keep in mind. The auxiliary database needs to be restarted several times. In some cases you loose the connection to the auxiliary database when it shuts down. This means you have to configure the dev database in the SID_LIST of the listener on the dev server. And take care that the password file is present.



        Well, this sounds like a lot configuration overhead. If you have to refresh your dev database frequently this is not a big deal. But I personally prefer to clone from backup location because this is much more simple. You can also skip the SPFILE clause when you create it manually. In my experience you need 2 or 3 attempts to work out the correct parameter conversion. If some parameters change on your prod database you might have to adjust this clause again.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered May 25 '16 at 14:26









        ora-600ora-600

        1,22649




        1,22649






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Database Administrators Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f139385%2foracle-12c-rman-duplicate-archive-log-not-verified%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Parapolítica Índice Antecedentes El escándalo Proceso judicial Consecuencias Véase...

            How to remove border from elements in the last row?Targeting flex items on the last rowHow to vertically wrap...

            Tecnologías entrañables Índice Antecedentes Desarrollo Tecnologías Entrañables en la...