zoukankan      html  css  js  c++  java
  • Recover With Until Time fails With RMAN-20207 When Time Is Before Last RESETLOGS (Doc ID 159405.1)

    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

  • 相关阅读:
    C风格字符串大写转小写
    指针的引用在函数中的应用
    Debug和Release区别
    差分约束系统(System Of Difference Constraints)
    poj_2299UltraQuickSort && poj_1804Brainman
    计算几何基础——矢量和叉积
    推荐ALGORITHM专题
    后缀数组之倍增法
    静态邻接表的简单实现
    归并排序&&树状数组求逆序数
  • 原文地址:https://www.cnblogs.com/zylong-sys/p/11994073.html
Copyright © 2011-2022 走看看