Recover With Until Time fails With RMAN-20207 When Time Is Before Last RESETLOGS (Doc ID 159405.1)

APPLIES TO:

Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Cloud Schema Service - Version N/A and later
Information in this document applies to any platform.

SYMPTOMS

  • Recover with UNTIL TIME option fails  使用 UNTIL TIME 选项恢复失败
  • RMAN-20207: UNTIL TIME or RECOVERY WINDOW is before RESETLOGS time

CAUSE

The UNTIL TIME is prior to the current Database incarnation in the RMAN catalog. UNTIL TIME在 RMAN catalog 中 current Database 的 incarnation 之前

UNTIL TIME and RECOVERY WINDOW cannot be less than the database creation time or RESETLOGS time.

UNTIL TIME 和 RECOVERY WINDOW 不能小于数据库创建时间或RESETLOGS时间

SOLUTION

Check the UNTIL TIME or RECOVERY WINDOW. If the database needs to be restored to an old incarnation, use the RESET DATABASE TO INCARNATION command.

检查 UNTIL TIME 或 RECOVERY WINDOW。 如果需要将数据库还原到旧版本,请使用 RESET DATABASE TO INCARNATION 命令。

Set the Database Incarnation back to an incarnation before the last RESETLOG time.

将 Database Incarnation 设置回最后RESETLOG时间之前的 incarnation。

Example:

% rman  target / catalog <username>/<password>@<catalog_tns>

# To find the list of the database incarnation:  --查找 database incarnation 的列表

RMAN> list incarnation of database;

Reset the database to previous incarnation before the resetlog time. In this example incarnation 2

--在resetlog时间之前将数据库重置为先前的版本。 在此示例中,incarnation 2
RMAN> reset database to incarnation 2;

Perform the recovery.
See also Note 1070453.6 Point-in-Time Recovery of a Backup From Before Last Resetlogs

原文地址:https://www.cnblogs.com/zylong-sys/p/11994073.html

时间: 2024-10-19 07:52:13

Recover With Until Time fails With RMAN-20207 When Time Is Before Last RESETLOGS (Doc ID 159405.1)的相关文章

如何通过RMAN使用传输表空间迁移到不同的Endian平台 (Doc ID 371556.1)

How to Migrate to different Endian Platform Using Transportable Tablespaces With RMAN (Doc ID 371556.1) APPLIES TO: Oracle Database - Enterprise Edition - Version 12.1.0.2 to 12.2.0.1 [Release 12.1 to 12.2]Oracle Database - Enterprise Edition - Versi

RMAN RECOVER TABLE 功能是 Oracle Database 12c 的新增功能 (Doc ID 1521524.1)

RMAN RECOVER TABLE Feature New to Oracle Database 12c (Doc ID 1521524.1) APPLIES TO: Oracle Database Cloud Schema Service - Version N/A and laterOracle Database Exadata Cloud Machine - Version N/A and laterOracle Database Exadata Express Cloud Servic

如何将RAC数据库的 RMAN Disk 备份 Restore 到另一个节点上的单个实例 (Doc ID 415579.1)

HowTo Restore RMAN Disk backups of RAC Database to Single Instance On Another Node (Doc ID 415579.1) APPLIES TO: Oracle Database - Enterprise Edition - Version 9.2.0.1 and laterOracle Database Cloud Schema Service - Version N/A and laterOracle Databa

perl xttdriver.pl fails: Can&#39;t locate Getopt/Long.pm in @INC (Doc ID 1912400.1)

  Copyright (c) 2019, Oracle. All rights reserved. Oracle Confidential.   perl xttdriver.pl fails: Can't locate Getopt/Long.pm in @INC (Doc ID 1912400.1) To Bottom In this Document   Symptoms   Cause   Solution This document is being delivered to you

How to restore and recover a database from an RMAN backup. (Doc ID 881395.1)

APPLIES TO: Oracle Database - Enterprise Edition - Version 10.1.0.2 to 11.2.0.2 [Release 10.1 to 11.2]Oracle Database - Enterprise Edition - Version 11.2.0.4 to 11.2.0.4 [Release 11.2]Oracle Database - Enterprise Edition - Version 11.2.0.3 to 11.2.0.

TSPITR fails With RMAN-06553 (Doc ID 2078790.1)

APPLIES TO: Oracle Database - Enterprise Edition - Version 11.2.0.4 and laterOracle Database Cloud Schema Service - Version N/A and laterOracle Database Exadata Express Cloud Service - Version N/A and laterOracle Database Exadata Cloud Machine - Vers

How To Restore Rman Backups On A Different Node When The Directory Structures Are Different (Doc ID 419137.1)

APPLIES TO: Oracle Database - Enterprise Edition - Version 10.1.0.2 and laterInformation in this document applies to any platform.***Checked for relevance on 20-July-2015*** GOAL Restoring Rman backup on a different node with different backup directo

How to recover a skipped tablespace after an incomplete recovery? (Doc ID 1561645.1)

APPLIES TO: Oracle Database - Enterprise Edition - Version 11.2.0.1 and laterOracle Database Cloud Schema Service - Version N/A and laterOracle Database Exadata Express Cloud Service - Version N/A and laterOracle Database Exadata Cloud Machine - Vers

[翻译自mos文章]不完全恢复之后,open resetlogs之前,怎么快速的检查数据库是否处于一致性的状态?

不完全恢复之后,open resetlogs之前,怎么快速的检查数据库是否处于一致性的状态? 翻译自: How to quickly check that Database is consistent after incomplete recovery (Point in Time Recovery) before OPEN RESETLOGS (Doc ID 1354256.1) 适用于: Oracle Database - Enterprise Edition - Version 9.0.1