• 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

  • 相关阅读:
    ActiveMQ服务安装
    @Transactional 注解失效场景
    java中public、private、 protected、friendly
    接口保证幂等性是基本的要求,那么幂等性你们是怎么做的 ?
    android中Toast,makeText()的用法
    android中OKHttpClient工具类的用法(向服务器发送请求,并得到响应)
    android与服务器交互
    Android Studio中Make Project、Clean Project、Rebuild Project 的作用
    android如何真机调试
    URI中的fragment以及URI的说明
  • 原文地址:https://www.cnblogs.com/zylong-sys/p/11994073.html
Copyright © 2020-2023  润新知