My Oracle Support Banner

Rman recovery of Offine datafiles not handled (Doc ID 2501469.1)

Last updated on JULY 20, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 to 12.1.0.2 [Release 11.2 to 12.1]
Information in this document applies to any platform.

Symptoms

NOTE: In the images and/or the document content below, the user information and environment data used
represents fictitious data from the Oracle sample schema(s),Public Documentation delivered with an
Oracle database product or other training material. Any similarity to actual environments, actual
persons, living or dead, is purely coincidental and not intended in any manner.

For the purposes of this document, the following fictitious environment is used as an example
to describe the procedure:

Disk Group Name = +DATA

 

Performing RMAN restore recovery tests on a recovery server  with Oracle 11.2.0.4.0 and Red Hat Enterprise Linux Server release 6.5.

Launching a recovery on July 2, 2018 and everything goes fine until the recovery fails:
Oracle Error:
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: '+DATA/......
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 01/17/2019 11:15:06
RMAN-20506: no backup of archived log found
RMAN-06053: unable to perform media recovery because of missing log
RMAN-06025: no backup of archived log for thread 1 with sequence 64805 and starting SCN of 319261660369 found to restore

the strange thing is that if we review this "archive" it is February:


RMAN> list backup of archivelog sequence 64805 thread 1;
List of Backup Sets
===================
BS Key Size Device Type Elapsed Time Completion Time
------- ---------- ----------- ------------ ---------------
8997161 31.50M SBT_TAPE 00:00:02 13-FEB-18
   Key: 8997310 Status: AVAILABLE Compressed: NO Tag: TAG20180213T001928
  Handle: <HANDLE> Media:XXXXXX
 List of Archived Logs in backup set 8997161
 Thrd Seq Low SCN Low Time Next SCN Next Time
 ---- ------- ---------- --------- ---------- ---------
 1 64805 319261660369 12-FEB-18 319261678536 12-FEB-18

Its looking for old logs and fails

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.