Thursday, August 7, 2014

RMAN-05541: no archived logs found in target database

Problem:
You are getting  RMAN-05541 error when duplicating database from a consistent (cold) RMAN backup.

Error Message:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 07/08/2014 18:12:40
RMAN-05501: aborting duplication of target database
RMAN-05541: no archived logs found in target database


Solution:
The error should be resolved by using NOREDO clause for your duplicate command.

Example:
run {
set until time "to_date('08-OCT-2014 10:15:00','DD-MON-YYYY HH24:MI:SS')";
DUPLICATE DATABASE TO targetDB
BACKUP LOCATION '/backup_Location' NOREDO;
   }


I hope this helps.

Please feel free to leave your questions or suggest improvements to this section.

15 comments:

  1. Thanks , its helped on time...:)

    ReplyDelete
  2. Awesome solved my error, thanks bruh

    ReplyDelete
  3. FYI. I have a difference scenario.
    [Attempt-1] I got the same error as yours, so I added "NOREDO". It gave me the following errors.
    "RMAN-06136: ORACLE error from auxiliary database: ORA-01194: file 1 needs more recovery to be consistent
    ORA-01110: data file 1: '+DATA/xxx/DATAFILE/system.1849.903967925' "
    [Attempt-2] I found it's because necessary archived logs were not in backup location, so I copied them to that location. I ran duplicate database without NOREDO. Then it works.

    ReplyDelete
  4. Thanks, this solved my problem. Greetings from Bs.As.

    ReplyDelete
  5. Thanks man, you saved my life.

    ReplyDelete
  6. I found my issue, I forgot to change the year in my duplicate command. It worked when I used the correct date to restore.

    ReplyDelete
  7. This helped ! Thank you very much !

    ReplyDelete