✎
编程开发网
首页
C语言
C++
面试
Linux
函数
Windows
数据库
下载
搜索
当前位置:
首页
->
基础
->
数据库编程
【执行灾难性恢复-1】(三)
2015-01-27 22:40:38
·
作者:
·
浏览:
73
标签:
执行
灾难性
恢复
psed time: 00:00:35 Finished restore at 06-NOV-14 RMAN> recover database; Starting recover at 06-NOV-14 using channel ORA_DISK_1 starting media recovery unable to find archive log archive log thread=1 sequence=1 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of recover command at 11/06/2014 20:39:55 RMAN-06054: media recovery requesting unknown log: thread 1 seq 1 lowscn 485958 RMAN> recover database until scn 485958; Starting recover at 06-NOV-14 using channel ORA_DISK_1 starting media recovery unable to find archive log archive log thread=1 sequence=1 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of recover command at 11/06/2014 20:40:17 RMAN-06054: media recovery requesting unknown log: thread 1 seq 1 lowscn 485958 RMAN> recover database noredo; Starting recover at 06-NOV-14 using channel ORA_DISK_1 Finished recover at 06-NOV-14 RMAN> alter database open resetlogs; database opened RMAN> exit Recovery Manager complete. [oracle@oracle ~]$ sqlplus / as sysdba SQL*Plus: Release 10.2.0.5.0 - Production on Thu Nov 6 20:47:03 2014 Copyright (c) 1982, 2010, Oracle. All Rights Reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production With the Partitioning, Oracle Label Security, OLAP, Data Mining Scoring Engine and Real Application Testing options SQL> select name from v$datafile; NAME -------------------------------------------------------------------------------- /u01/oracle/oradata/jadl10g/system01.dbf /u01/oracle/oradata/jadl10g/undotbs01.dbf /u01/oracle/oradata/jadl10g/sysaux01.dbf /u01/oracle/oradata/jadl10g/users01.dbf /u01/oracle/oradata/jadl10g/example01.dbf
备份文件 不用删除 在备份设备上保留冗余备份
归档日志 不要删除 在备份设备上保留归档日志
日志文件一定要分开放,不要造成日志文件组成员全部丢失
数据文件丢失有故障,是可以恢复的
使用重建控制文件,备份控制文件恢复,resetlogs打开
数据库
都需要重新备份backup database;
首页
上一页
1
2
3
下一页
尾页
3
/3/3