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

  • 相关阅读:
    基于Cat的分布式调用追踪
    python3.8.0 Django 开发后端接口api 部署到 Linux Centos7上
    openlayers上添加点击事件
    openlayers在底图上添加静态icon
    vue中使用kindeditor富文本编辑器2
    openlayers绘制点,线,圆等
    openLayers绘制静态底图
    快速调用Android虚拟机
    flutter环境配置window10
    reactjs中配置代理跨域
  • 原文地址:https://www.cnblogs.com/zylong-sys/p/11994073.html
Copyright © 2011-2022 走看看