RMAN-20208: UNTIL CHANGE is before RESETLOGS change
执行recover操作时:
RMAN> recover database;
Starting recover at 28-NOV-19
using channel ORA_DISK_1
starting media recovery
channel ORA_DISK_1: starting archived log restore to default destination
channel ORA_DISK_1: restoring archived log
archived log thread=1 sequence=7
channel ORA_DISK_1: restoring archived log
archived log thread=1 sequence=8
channel ORA_DISK_1: reading from backup piece /home/oracle/backup/arc_1025423665_3
channel ORA_DISK_1: piece handle=/home/oracle/backup/arc_1025423665_3 tag=TAG20191127T075425
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
archived log file name=/u01/app/oracle/fast_recovery_area/orcl/ORCL/archivelog/2019_11_28/o1_mf_1_7_gxzq9b93_.arc thread=1 sequence=7
channel default: deleting archived log(s)
archived log file name=/u01/app/oracle/fast_recovery_area/orcl/ORCL/archivelog/2019_11_28/o1_mf_1_7_gxzq9b93_.arc RECID=10 STAMP=1025505834
archived log file name=/u01/app/oracle/fast_recovery_area/orcl/ORCL/archivelog/2019_11_28/o1_mf_1_8_gxzq9bb0_.arc thread=1 sequence=8
unable to find archived log
archived log thread=1 sequence=1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 11/28/2019 06:43:56
RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 1 and starting SCN of 2060718
RMAN> recover database until scn 2060718;
Starting recover at 28-NOV-19
using channel ORA_DISK_1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 11/28/2019 06:45:26
RMAN-20208: UNTIL CHANGE is before RESETLOGS change
RMAN> list incarnation;
List of Database Incarnations
DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
------- ------- -------- ---------------- --- ---------- ----------
1 1 ORCL 1553125926 PARENT 1 26-JAN-17
2 2 ORCL 1553125926 PARENT 1408558 26-NOV-19
3 3 ORCL 1553125926 CURRENT 2060718 28-NOV-19
RMAN> reset database to incarnation 2;
database reset to incarnation 2
RMAN> restore database until scn 2060717;
Starting restore at 28-NOV-19
using channel ORA_DISK_1
channel ORA_DISK_1: restore complete, elapsed time: 00:00:25
Finished restore at 28-NOV-19
RMAN> recover database until scn 2060717;
Starting recover at 28-NOV-19
using channel ORA_DISK_1
starting media recovery
archived log for thread 1 with sequence 8 is already on disk as file /u01/app/oracle/fast_recovery_area/orcl/ORCL/archivelog/2019_11_28/o1_mf_1_8_gxzq9bb0_.arc
channel ORA_DISK_1: starting archived log restore to default destination
channel ORA_DISK_1: restoring archived log
archived log thread=1 sequence=7
channel ORA_DISK_1: reading from backup piece /home/oracle/backup/arc_1025423665_3
channel ORA_DISK_1: piece handle=/home/oracle/backup/arc_1025423665_3 tag=TAG20191127T075425
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:00:01
archived log file name=/u01/app/oracle/fast_recovery_area/orcl/ORCL/archivelog/2019_11_28/o1_mf_1_7_gxzqobn5_.arc thread=1 sequence=7
channel default: deleting archived log(s)
archived log file name=/u01/app/oracle/fast_recovery_area/orcl/ORCL/archivelog/2019_11_28/o1_mf_1_7_gxzqobn5_.arc RECID=11 STAMP=1025506218
archived log file name=/u01/app/oracle/fast_recovery_area/orcl/ORCL/archivelog/2019_11_28/o1_mf_1_8_gxzq9bb0_.arc thread=1 sequence=8
media recovery complete, elapsed time: 00:00:01
Finished recover at 28-NOV-19
RMAN> alter database open resetlogs;
Satement processed
RMAN>
RMAN> recover database;
Starting recover at 28-NOV-19using channel ORA_DISK_1
starting media recovery
channel ORA_DISK_1: starting archived log restore to default destinationchannel ORA_DISK_1: restoring archived logarchived log thread=1 sequence=7channel ORA_DISK_1: restoring archived logarchived log thread=1 sequence=8channel ORA_DISK_1: reading from backup piece /home/oracle/backup/arc_1025423665_3channel ORA_DISK_1: piece handle=/home/oracle/backup/arc_1025423665_3 tag=TAG20191127T075425channel ORA_DISK_1: restored backup piece 1channel ORA_DISK_1: restore complete, elapsed time: 00:00:01archived log file name=/u01/app/oracle/fast_recovery_area/orcl/ORCL/archivelog/2019_11_28/o1_mf_1_7_gxzq9b93_.arc thread=1 sequence=7channel default: deleting archived log(s)archived log file name=/u01/app/oracle/fast_recovery_area/orcl/ORCL/archivelog/2019_11_28/o1_mf_1_7_gxzq9b93_.arc RECID=10 STAMP=1025505834archived log file name=/u01/app/oracle/fast_recovery_area/orcl/ORCL/archivelog/2019_11_28/o1_mf_1_8_gxzq9bb0_.arc thread=1 sequence=8unable to find archived logarchived log thread=1 sequence=1RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-03002: failure of recover command at 11/28/2019 06:43:56RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 1 and starting SCN of 2060718
RMAN> recover database until scn 2060718;
Starting recover at 28-NOV-19using channel ORA_DISK_1RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-03002: failure of recover command at 11/28/2019 06:45:00RMAN-20208: UNTIL CHANGE is before RESETLOGS change
RMAN> recover database until scn 2060718;
Starting recover at 28-NOV-19using channel ORA_DISK_1RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-03002: failure of recover command at 11/28/2019 06:45:26RMAN-20208: UNTIL CHANGE is before RESETLOGS change
RMAN> recover database;
Starting recover at 28-NOV-19using channel ORA_DISK_1
starting media recovery
unable to find archived logarchived log thread=1 sequence=1RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-03002: failure of recover command at 11/28/2019 06:46:00RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 1 and starting SCN of 2060718
RMAN> recover database until scn 2060718;
Starting recover at 28-NOV-19using channel ORA_DISK_1RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-03002: failure of recover command at 11/28/2019 06:47:12RMAN-20208: UNTIL CHANGE is before RESETLOGS change
RMAN> list incarnation;
List of Database IncarnationsDB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time------- ------- -------- ---------------- --- ---------- ----------1 1 ORCL 1553125926 PARENT 1 26-JAN-172 2 ORCL 1553125926 PARENT 1408558 26-NOV-193 3 ORCL 1553125926 CURRENT 2060718 28-NOV-19
RMAN> reset database to incarnation 2;
database reset to incarnation 2
RMAN> restore database until scn 2060717;
Starting restore at 28-NOV-19using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile backup set restorechannel ORA_DISK_1: specifying datafile(s) to restore from backup setchannel ORA_DISK_1: restoring datafile 00001 to /u01/app/oracle/oradata/orcl/system01.dbfchannel ORA_DISK_1: restoring datafile 00003 to /u01/app/oracle/oradata/orcl/sysaux01.dbfchannel ORA_DISK_1: restoring datafile 00004 to /u01/app/oracle/oradata/orcl/undotbs01.dbfchannel ORA_DISK_1: restoring datafile 00007 to /u01/app/oracle/oradata/orcl/users01.dbfchannel ORA_DISK_1: reading from backup piece /home/oracle/backup/db_ORCL_20191127_01uhtdrk_1_1channel ORA_DISK_1: piece handle=/home/oracle/backup/db_ORCL_20191127_01uhtdrk_1_1 tag=TAG20191127T074700channel ORA_DISK_1: restored backup piece 1channel ORA_DISK_1: restore complete, elapsed time: 00:00:25Finished restore at 28-NOV-19
RMAN> alter database open resetlogs;
RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================RMAN-03002: failure of sql statement command at 11/28/2019 06:49:13ORA-01190: control file or data file 1 is from before the last RESETLOGSORA-01110: data file 1: '/u01/app/oracle/oradata/orcl/system01.dbf'
RMAN> recover database until scn 2060717;
Starting recover at 28-NOV-19using channel ORA_DISK_1
starting media recovery
archived log for thread 1 with sequence 8 is already on disk as file /u01/app/oracle/fast_recovery_area/orcl/ORCL/archivelog/2019_11_28/o1_mf_1_8_gxzq9bb0_.arcchannel ORA_DISK_1: starting archived log restore to default destinationchannel ORA_DISK_1: restoring archived logarchived log thread=1 sequence=7channel ORA_DISK_1: reading from backup piece /home/oracle/backup/arc_1025423665_3channel ORA_DISK_1: piece handle=/home/oracle/backup/arc_1025423665_3 tag=TAG20191127T075425channel ORA_DISK_1: restored backup piece 1channel ORA_DISK_1: restore complete, elapsed time: 00:00:01archived log file name=/u01/app/oracle/fast_recovery_area/orcl/ORCL/archivelog/2019_11_28/o1_mf_1_7_gxzqobn5_.arc thread=1 sequence=7channel default: deleting archived log(s)archived log file name=/u01/app/oracle/fast_recovery_area/orcl/ORCL/archivelog/2019_11_28/o1_mf_1_7_gxzqobn5_.arc RECID=11 STAMP=1025506218archived log file name=/u01/app/oracle/fast_recovery_area/orcl/ORCL/archivelog/2019_11_28/o1_mf_1_8_gxzq9bb0_.arc thread=1 sequence=8media recovery complete, elapsed time: 00:00:01Finished recover at 28-NOV-19
RMAN> alter database open resetlogs;
Statement processed
RMAN>
RMAN-20208: UNTIL CHANGE is before RESETLOGS change的更多相关文章
- 14.6.5 Configuring InnoDB Change Buffering 配置InnoDB Change Buffering
14.6.5 Configuring InnoDB Change Buffering 配置InnoDB Change Buffering 当插入,更新,和删除操作在表上执行, 索引列的值(特别是 se ...
- 14.4.5 Configuring InnoDB Change Buffering 配置InnoDB Change Buffering
14.4.5 Configuring InnoDB Change Buffering 配置InnoDB Change Buffering 当INSERT,UPDATE,和删除操作在表上操作, 索引列的 ...
- 跨resetlogs不完全恢复- oracle自动reset错误incarnation
在做oracle跨resetlogs的不完全恢复时,如果未删除flashback area的控制文件自动备份,那么Oracle可能会从控制文件自动备份中自动探测到incarnation信息,并重置in ...
- 在rman恢复中incarnation的概念
摘要 本文主要介绍incarnation的由来,在rman恢复中的作用,以及相关rman恢复的注意事项. 概念说明 从10g开始,incarnation被引入,用于跨越resetlogs进行恢复,由此 ...
- 转 LIST INCARNATION OF DATABASE
incarnation在英文中是“化身”的意思. 那么在oracle中,它又是什么意思呢?有什么作用呢? 我们看一些基本概念 Current Incarnation(当前化身):数据库当前正在使用的化 ...
- Oracle不完全恢复-主动恢复和incarnation/RMAN-20208/RMAN-06004
12.3 主动恢复 主动不完全恢复是将数据库“撤回”到从前的传统方法,主要用来撤销认为修改.一般需要先判断PIT点的时间或SCN --1 重启db到mount状态 --2 用restore将所有的数据 ...
- Oracle 10g Block Change Tracking特性
Using Block Change Tracking to Improve Incremental Backup Performance 使用块改变跟踪改善增量备份的性能 The block cha ...
- Oracle 块修改跟踪 (Block Change Tracking) 说明
Block ChangeTracking 是Oracle 10g里推出的特性.官网对Block change tracking 的定义如下: Adatabase option that causes ...
- enable or disable Oracle block change tracking
Oracle的block change tracking用于记录上次备份以来改变过的block信息,因此打开block change tracking可以大大加快增量备份的速度. 1. Enable ...
随机推荐
- Spring Cloud & Alibaba 实战 | 第十二篇: 微服务整合Sentinel的流控、熔断降级,赋能拥有降级功能的Feign新技能熔断,实现熔断降级双剑合璧(JMeter模拟测试)
目录 一. Sentinel概念 1. 什么是Sentinel? 2. Sentinel功能特性 3. Sentinel VS Hystrix 二. Docker部署Sentinel Dashboar ...
- 1.4.15- HTML标签之链接标签
代码如下: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF ...
- 基于C++简单Windows API的socket编程(阻塞模式)
1. 概述:简单的基于Windows API的socket点对点聊天程序,为了方便初学者,本文代码均采用阻塞原理编写. 2. 代码样例 Server.cpp(服务端) #include <cst ...
- Windows Server系统加固
目录 账户管理.认证授权 管理账户 管理口令 授权 审核策略 IP协议安全配置 设备其他配置操作 账户管理.认证授权 管理账户 说明: 对于管理员账号,要求更改缺省账户名称,并且禁用 guest (来 ...
- (转)VMware中桥接模式与NAT模式的区别
bridged networking(桥接模式) 在这样的模式下.VMWare虚拟出来的操作系统就像是局域网中的一台独立的主机,它能够訪问网内不论什么一台机器. 在桥接模式下.你须要手工为虚拟系统配置 ...
- 40 图 |我用 Mac M1 玩转 Spring Cloud
我的开源 Spring Cloud 项目 PassJava 一直可以在 Windows 上正常运行,最近不是换 Mac M1 了么,想把这个项目在 M1 上跑起来,毕竟我的那台 Windows 用起来 ...
- 什么是 Mock 测试?
什么是 Mock? 作为动词,Mock 是模拟.模仿的意思. 作为名词,Mock 是能够模仿真实对象行为的模拟对象. 那么,在软件测试中,Mock 所模拟的对象是什么呢? 模拟的是 SUT(Syste ...
- Spring Boot & Cloud 轻量替代框架 Solon 1.4.1 发布
Solon 是一个微型的Java开发框架.强调,克制 + 简洁 + 开放的原则:力求,更小.更快.更自由的体验.支持:RPC.REST API.MVC.Micro service.WebSocket. ...
- SpringBoot系列——自定义统一异常处理
前言 springboot内置的/error错误页面并不一定适用我们的项目,这时候就需要进行自定义统一异常处理,本文记录springboot进行自定义统一异常处理. 1.使用@ControllerAd ...
- CRM系统自动化业务流程的好处
CRM系统的自动化可以简单化企业大部分工作,而且覆盖销售,市场,服务和财务部门,使团队有大量时间花在业务流程上. CRM系统自动化的建立是为了更好地使工作更为简单且便于管理,自动化释放出来员工的时间, ...