我是靠谱客的博主 烂漫乌冬面,最近开发中收集的这篇文章主要介绍rman一致性备份oracle数据库可以在非归档模式下么,Oracle之rman数据库在非归档模式下的备份和恢复...,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

RMAN> shutdown immediate

database closed

database dismounted

Oracle instance shut down

RMAN> startup mount

connected to target database (not started)

Oracle instance started

database mounted

Total System Global Area 535662592 bytes

Fixed Size 1375792 bytes

Variable Size 411042256 bytes

Database Buffers 117440512 bytes

Redo Buffers 5804032 bytes

RMAN> restore database;

Starting restore at 03-NOV-11

allocated channel: ORA_DISK_1

channel ORA_DISK_1: SID=133 device type=DISK

channel ORA_DISK_1: starting datafile backup set restore

channel ORA_DISK_1: specifying datafile(s) to restore from backup set

channel ORA_DISK_1: restoring datafile 00001 to D:ORACLEORADATAORCLSYSTEM01.DBF

channel ORA_DISK_1: restoring datafile 00002 to D:ORACLEORADATAORCLSYSAUX01.DBF

channel ORA_DISK_1: restoring datafile 00004 to D:ORACLEORADATAORCLUSERS01.DBF

channel ORA_DISK_1: restoring datafile 00005 to D:ORACLEORADATAORCLTEST01.DBF channel ORA_DISK_1: restoring datafile 00006 to D:ORACLEORADATAORCLUNDOTBS02.DBF

channel ORA_DISK_1: reading from backup piece E:RMAN_BAK20111103DF_766235030_5_1.BAK

channel ORA_DISK_1: piece handle=E:RMAN_BAK20111103DF_766235030_5_1.BAK tag=TAG20111103T110349

channel ORA_DISK_1: restored backup piece 1

channel ORA_DISK_1: restore complete, elapsed time: 00:02:35

Finished restore at 03-NOV-11

RMAN> alter database open;

RMAN-00571: ===========================================================

RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============

RMAN-00571: ===========================================================

RMAN-03002: failure of alter db command at 11/03/2011 14:10:03

ORA-01113: file 1 needs media recovery

ORA-01110: data file 1: 'D:ORACLEORADATAORCLSYSTEM01.DBF'

RMAN> recover database;

Starting recover at 03-NOV-11

using channel ORA_DISK_1

starting media recovery

archived log for thread 1 with sequence 3246 is already on disk as file D:ORACLEORADATAORCLREDO03.LOG archived log for thread 1 with sequence 3247 is already on disk as file D:ORACLEORADATAORCLREDO01.LOG

archived log file name=D:ORACLEORADATAORCLREDO03.LOG thread=1 sequence=3246

archived log file name=D:ORACLEORADATAORCLREDO01.LOG thread=1 sequence=3247

media recovery complete, elapsed time: 00:00:09

Finished recover at 03-NOV-11

RMAN> alter database open;

RMAN-00571: ===========================================================

RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============

RMAN-00571: ===========================================================

RMAN-03002: failure of alter db command at 11/03/2011 14:10:30

ORA-01589: must use RESETLOGS or NORESETLOGS option for database open

RMAN> alter database open resetlogs;

database opened

最后

以上就是烂漫乌冬面为你收集整理的rman一致性备份oracle数据库可以在非归档模式下么,Oracle之rman数据库在非归档模式下的备份和恢复...的全部内容,希望文章能够帮你解决rman一致性备份oracle数据库可以在非归档模式下么,Oracle之rman数据库在非归档模式下的备份和恢复...所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(49)

评论列表共有 0 条评论

立即
投稿
返回
顶部