重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 3014|回复: 1
打印 上一主题 下一主题

怎么处理这个?RMAN> alter database open resetlogs ;

[复制链接]
跳转到指定楼层
楼主
发表于 2013-2-20 10:25:19 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

A、

怎么处理这个?
RMAN> alter database open resetlogs ;

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of alter db command at 02/20/2013 09:46:49
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: '/opt/app/oracle/oradata/orcl/system01.dbf'

 

B、

重新恢复data file 1

 

A、

这前我执行了这个。
run {startup mount;
set until time = "to_date('19-02-13 16:08:00','dd-mm-yy hh24:mi:ss')";
restore database;
recover database;
alter database open resetlogs;}

 

B、

ORA-01152: file 1 was not restored from a sufficiently old backup
这里报错说没充分恢复datafile 1,你单独恢复1后再试试

 

A、

恢复到哪点时间点?

 

B、

你脚本那个时间点

重新恢复data file 1

A、

在这种情况下,其它的数据文件恢复了吗?

 

B、

ORA-01152: file string was not restored from a sufficiently old backup 
Cause: An incomplete recovery session was started, but an insufficient number of logs were applied to make the database consistent. This file is still in the future of the last log applied. The most likely cause of this error is forgetting to restore the file from a backup before doing incomplete recovery.
Action: Either apply more logs until the database is consistent or restore the database file from an older backup and repeat recovery.
你的备份是什么时候做的
restore datafile 1恢复单个文件,就只是恢复文件1,其他文件不会恢复
 
A、
对的,郑老师,应该是你说的问题。我看可以备份生成时间是16:45。
而我et until time = "to_date('19-02-13 16:08:00','dd-mm-yy hh24:mi:ss')";

B、
那肯定不行啥
你不能跑到备份的前面去了
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

沙发
 楼主| 发表于 2013-2-20 10:28:08 | 只看该作者

A、

starting media recovery

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 02/20/2013 10:24:42
RMAN-06053: unable to perform media recovery because of missing log
RMAN-06025: no backup of log thread 1 seq 95 lowscn 3144295 found to restore

 

B、

RMAN-06025: no backup of log thread 1 seq 95 lowscn 3144295 found to restore

没有找到归档日志文件的备份

先restore归档日志看看

 

[此贴子已经被作者于2013-2-20 10:29:40编辑过]
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-4-20 00:27 , Processed in 0.112678 second(s), 20 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表