|
12b,12c实验中控制文件通过脚本或者rman二进制恢复以后
都是通过先recover database,看日志断点在哪里
unable to find archived log
archived log thread=1 sequence=7
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 07/05/2016 12:50:40
RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 7 and starting SCN of 4394950
可见断点在7,然后指定断点来恢复
run
{
set until sequence 7 thread 1;
restore database;
recover database;
}
但是这样做不下去,提示如下
media recovery failed
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 07/05/2016 12:52:34
RMAN-11003: failure during parse/execution of SQL statement: alter database recover if needed
start until cancel using backup controlfile
ORA-00275: media recovery has already been started
这个时候只能去sqlplus下,执行:recover database until cancel using backup controlfile;
12b,12c,12d我第一次做都是这样的情况,其中12C反复做了2次,都是这样的。
这样的结果与视频不一致,不明白有什么差别?
在我的理解里,这2种办法都可以的,12系列之前我反复试过几个实验,2种做法都可以。
但是12系列实验却不是这样,很困惑?
|
|