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 ...
随机推荐
- SSL证书及HTTPS服务器
1. 域名 在万网购买,略 2. 云服务器 阿里云购买,略 3. 安装lnmp 使用lnmp.org程序,略 4. 申请证书 阿里云-管理控制台-安全(云盾)-证书服务-购买证书证书类型: 免费型DV ...
- hdu4415 不错的想法题
题意: 一个人他有一定的血,有一些怪物,他去杀怪物,有的怪物杀死他后还可以在不费自己血的情况下任意杀死一些怪物,问你他最多杀死多少怪物,在最多杀怪前提下最好用多少血,(大体题意是这样). 思路: 首先 ...
- 洛谷P1085 不高兴的津津
题目描述 津津上初中了.妈妈认为津津应该更加用功学习,所以津津除了上学之外,还要参加妈妈为她报名的各科复习班.另外每周妈妈还会送她去学习朗诵.舞蹈和钢琴.但是津津如果一天上课超过八个小时就会不高兴,而 ...
- Python脚本破解压缩文件口令(zipfile)
环境:Windows python版本2.7.15 Python中操作zip压缩文件的模块是 zipfile . 相关文章:Python中zipfile压缩文件模块的使用 我们破解压缩文件的口令也是用 ...
- POJ1324贪吃蛇(状态压缩广搜)
题意: 给你一个地图,有的地方能走,有的地方不能走,然后给你一条蛇,问你这条蛇的头部走到1,1的位置的最少步数,注意,和贪吃蛇不太一样,就是蛇咬到自己身体的那个地方,具体怎么不一样自己模拟 ...
- POJ1135比较有意思的对短路(多米骨牌)
题意: 有一个骨牌游戏,就是推到一个后所有的牌都会被退到的那种游戏,起点是1,有两种骨牌,一种是关键牌,另一种是普通牌,普通牌是连接关键牌用的,给你一些边a b c的意思是关键牌a倒之后c时 ...
- Web中的相对路径和绝对路径
前台路径:浏览器端发起的资源请求路径 后台路径:服务器端发起的资源请求路径
- Linux系统运行netstat命令时的过三关斩一将
1.简介 这篇文章主要是记录在日常工作中遇到的一些问题,将其都总结整合到一起,方便查看,提高工作效率.小伙伴们看到标题可能觉得奇怪,不是过五关斩六将而是过三关斩一将.慢慢地往后看发现其中奥秘. 2.过 ...
- 记一次 .NET 某旅行社Web站 CPU爆高分析
一:背景 1. 讲故事 前几天有位朋友wx求助,它的程序内存经常飙升,cpu 偶尔飙升,没找到原因,希望帮忙看一下. 可惜发过来的 dump 只有区区2G,能在这里面找到内存泄漏那真有两把刷子..., ...
- Python自动扫描出微信不是好友名单
前言 最近找几个老友准备聊天发现几个已经被删除好友名单,做为潜水党多年的我已经不知道成为多少人的黑名单,但是好友列表却依然有不是好友的名单,面对庞大的好友数量想要清除谈何容易.虽然可以发消息给所有人, ...