手机版
你好,游客 登录 注册 搜索
背景:
阅读新闻

Oracle备份恢复之Trial Recovery

[日期:2012-12-06] 来源:Linux社区  作者:jiujian [字体:大 中 小]

移除其中一个归档后则情况如下:
 
 
 
RMAN> recover database test;     

 
 
Starting recover at 05-DEC-12
 
using channel ORA_DISK_1
 
 
 
starting media recovery
 
 
 
archive log thread 1 sequence 1 is already on disk as file /Oracle/archive/1_1_801229657.dbf
 
archive log thread 1 sequence 2 is already on disk as file /oracle/archive/1_2_801229657.dbf
 
archive log thread 1 sequence 3 is already on disk as file /oracle/archive/1_3_801229657.dbf
 
archive log thread 1 sequence 4 is already on disk as file /oracle/archive/1_4_801229657.dbf
 
archive log thread 1 sequence 5 is already on disk as file /oracle/archive/1_5_801229657.dbf
 
archive log thread 1 sequence 6 is already on disk as file /oracle/archive/1_6_801229657.dbf
 
archive log thread 1 sequence 7 is already on disk as file /oracle/archive/1_7_801229657.dbf
 
archive log thread 1 sequence 8 is already on disk as file /oracle/archive/1_8_801229657.dbf
 
archive log thread 1 sequence 9 is already on disk as file /oracle/archive/1_9_801229657.dbf
 
archive log thread 1 sequence 11 is already on disk as file /oracle/archive/1_11_801229657.dbf
 
archive log thread 1 sequence 12 is already on disk as file /oracle/archive/1_12_801229657.dbf
 
archive log thread 1 sequence 13 is already on disk as file /oracle/archive/1_13_801229657.dbf
 
archive log thread 1 sequence 14 is already on disk as file /oracle/archive/1_14_801229657.dbf
 
RMAN-11006: WARNING: test recovery results:

ORA-10574: Test recovery did not corrupt any data block
 
ORA-10573: Test recovery tested redo from change 2779426987 to 2779426987
 
ORA-10571: Test recovery canceled
 
 
 
RMAN-00571: ===========================================================
 
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
 
RMAN-00571: ===========================================================
 
RMAN-03002: failure of recover command at 12/05/2012 20:59:16
 
RMAN-06053: unable to perform media recovery because of missing log
 
RMAN-06025: no backup of log thread 1 seq 10 lowscn 2779427837 found to restore
 
上面错误提示可清晰看到提示日志文件丢失提示
 
不过感觉这命令还不如下面命令好用
 
 
 
RMAN> restore validate archivelog sequence between 1 and 14;
 
 
 
Starting restore at 05-DEC-12
 
using channel ORA_DISK_1
 
 
 
RMAN-00571: ===========================================================
 
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
 
RMAN-00571: ===========================================================
 
RMAN-03002: failure of restore command at 12/05/2012 21:08:18
 
RMAN-06026: some targets not found - aborting restore
 
RMAN-06025: no backup of log thread 1 seq 10 lowscn 2779427837 found to restore

linux
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款