• 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

  • 相关阅读:
    如何在fragment里面嵌套viewpager?
    textview限制字数,结尾显示。。。。。
    限制imageview大小
    iOS开发核心动画之画图板
    iOS开发核心动画之九宫格解锁
    iOS开发核心动画之Quartz2D绘图
    iOS开发核心动画之触摸手指识别
    iOS开发网络多线程之断点下载
    iOS开发网络多线程之网络请求文件解析
    iOS开发网络多线程之Runloop无限循环
  • 原文地址:https://www.cnblogs.com/zylong-sys/p/11994073.html
Copyright © 2020-2023  润新知