在线精品99_中国九九盗摄偷拍偷看_91免费版在线观看_91.app_91高清视频在线_99热最新网站

ORACLE11G RMAN备份如何恢复到异机数据库

103次阅读
没有评论

共计 4610 个字符,预计需要花费 12 分钟才能阅读完成。

这期内容当中丸趣 TV 小编将会给大家带来有关 ORACLE11G RMAN 备份如何恢复到异机数据库,文章内容丰富且以专业的角度为大家分析和叙述,阅读完这篇文章希望大家可以有所收获。

scp /u01/prb/rmanbk/*  oracle@prd-db2:/u01/prb/rmanbk/

恢复参数文件及控制文件

scp /u01/app/oracle/oradata/prb/control01.ctlprd-db2:/u01/app/oracle/oradata/prb/

启动到 mount 状态正常

ORACLE instance started.

Total System Global Area  584568832 bytes

Variable Size    226493880 bytes

Redo Buffers    3497984 bytes

三   在新控制文件中注册数据文件备份和归档备份

prd-db2- rman target /

Recovery Manager: Release 11.2.0.4.0 – Production on Wed Aug 1718:52:34 2016

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

connected to target database: PRB (DBID=1906641159, not open)

RMAN catalog start with /u01/prb/rmanbk/

using target database control file instead of recovery catalog

searching for all files that match the pattern /u01/prb/rmanbk/

no files found to be unknown to the database

恢复整个库

RMAN restore database;

Starting restore at 2016/08/17 18:53:42

allocated channel: ORA_DISK_1

channel ORA_DISK_1: SID=18 device type=DISK

channel ORA_DISK_1: starting datafile backup set restore

channel ORA_DISK_1: specifying datafile(s) to restore frombackup set

channel ORA_DISK_1: restoring datafile 00001 to/u01/app/oracle/oradata/prb/system01.dbf

channel ORA_DISK_1: restoring datafile 00002 to/u01/app/oracle/oradata/prb/sysaux01.dbf

channel ORA_DISK_1: restoring datafile 00003 to/u01/app/oracle/oradata/prb/undotbs01.dbf

channel ORA_DISK_1: restoring datafile 00004 to/u01/app/oracle/oradata/prb/users01.dbf

channel ORA_DISK_1: reading from backup piece/u01/prb/rmanbk/fulldb_PRB_03rdg8cm_1_1

channel ORA_DISK_1: piecehandle=/u01/prb/rmanbk/fulldb_PRB_03rdg8cm_1_1 tag=TAG20160817T164718

channel ORA_DISK_1: restored backup piece 1

channel ORA_DISK_1: restore complete, elapsed time: 00:00:15

Finished restore at 2016/08/17 18:53:57

RMAN recover database;

Starting recover at 2016/08/17 18:54:12

using channel ORA_DISK_1

starting media recovery

channel ORA_DISK_1: starting archived log restore to defaultdestination

channel ORA_DISK_1: restoring archived log

archived log thread=1 sequence=7

channel ORA_DISK_1: reading from backup piece/u01/prb/rmanbk/fulldb_PRB_05rdg8d7_1_1

channel ORA_DISK_1: piecehandle=/u01/prb/rmanbk/fulldb_PRB_05rdg8d7_1_1 tag=TAG20160817T164735

channel ORA_DISK_1: restored backup piece 1

channel ORA_DISK_1: restore complete, elapsed time: 00:00:01

archived log file name=/u01/app/oracle/fast_recovery_area/PRB/archivelog/2016_08_17/o1_mf_1_7_cv8jlo4y_.arcthread=1 sequence=7

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

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

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

RMAN-03002: failure of recover command at 08/17/2016 18:54:14

ORA-00283: recovery session canceled due to errors

RMAN-11003: failure during parse/execution of SQL statement:alter database recover logfile /u01/app/oracle/fast_recovery_area/PRB/archivelog/2016_08_17/o1_mf_1_7_cv8jlo4y_.arc

ORA-00283: recovery session canceled due to errors

ORA-00313: open failed for members of log group 2 of thread 1

ORA-00312: online log 2 thread 1: /u01/app/oracle/oradata/prb/redo02.log

ORA-27037: unable to obtain file status

Linux-x86_64 Error: 2: No such file or directory

Additional information: 3

缺失归档日志情况下的恢复

prd-db2- export ORACLE_SID=prb

prd-db2- sqlplus  /as  sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Wed Aug 17 19:03:522016

Copyright (c) 1982, 2013, Oracle.  All rights reserved.

Connected to:

Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 -64bit Production

With the Partitioning, OLAP, Data Mining and Real ApplicationTesting options

SQL shutdown immediate;

ORA-01109: database not open

Database dismounted.

ORACLE instance shut down.

SQL startup mount;

ORACLE instance started.

Total System Global Area 584568832 bytes

Fixed Size    2255432 bytes

Variable Size    226493880 bytes

Database Buffers    352321536 bytes

Redo Buffers    3497984 bytes

Database mounted.

SQL alter database open ;

alter database open

*

ERROR at line 1:

ORA-01589: must use RESETLOGS or NORESETLOGS option fordatabase open

SQL alter database open noresetlogs;

alter database open noresetlogs

*

ERROR at line 1:

ORA-01588: must use RESETLOGS option for database open

SQL alter database open resetlogs;

Database altered.

SQL select max(sequence#) from v$archived_log; 

MAX(SEQUENCE#)

————–

    7

数据库正常启动

prd-db2- export ORACLE_SID=prb

prd-db2- sqlplus  /as  sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Wed Aug 17 19:11:492016

Copyright (c) 1982, 2013, Oracle.  All rights reserved.

Connected to:

Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 -64bit Production

With the Partitioning, OLAP, Data Mining and Real ApplicationTesting options

SQL shutdown immediate;

Database closed.

Database dismounted.

ORACLE instance shut down.

SQL startup

ORACLE instance started.

Total System Global Area 584568832 bytes

Fixed Size    2255432 bytes

Variable Size    226493880 bytes

Database Buffers    352321536 bytes

Redo Buffers   3497984 bytes

Database mounted.

Database opened.

上述就是丸趣 TV 小编为大家分享的 ORACLE11G RMAN 备份如何恢复到异机数据库了,如果刚好有类似的疑惑,不妨参照上述分析进行理解。如果想知道更多相关知识,欢迎关注丸趣 TV 行业资讯频道。

正文完
 
丸趣
版权声明:本站原创文章,由 丸趣 2023-07-17发表,共计4610字。
转载说明:除特殊说明外本站除技术相关以外文章皆由网络搜集发布,转载请注明出处。
评论(没有评论)
主站蜘蛛池模板: 人妻中出受孕 中文字幕在线 | 欧美一级成人 | 久久国产乱子伦精品免费一 | 伊人久久影院大香线蕉 | 粗了大了 整进去好爽视频 粗一硬一长一进一爽一a级 | 高清视频一区二区 | 国产日韩欧美在线 | 小明台湾www永久视频 | 青青青手机视频在线观看 | 蜜桃久久 | 秋霞a级毛片在线看 | 一道本日本 | 国产乱人激情h在线观看 | 九九热在线免费视频 | 99久久99久久免费精品小说 | 亚洲爆乳精品无码一区二区三区 | 欧美日韩在线观看精品 | 农夫在线精品视频免费观看 | 青青草原网站在线观看 | 国产精品久久久久影院嫩草 | 成人欧美一区二区三区1314 | 亚洲视频精品在线 | 欧美肥妇多毛bbw | 香港曰本韩国三级网站 | 一级做a爰片久久毛片 | 久久精品青草社区 | 18一20岁一级毛片 | 四虎影视永久地址www成人 | 国产一级片在线 | 亚洲国产一区二区三区精品 | 色综合久久无码五十路人妻 | 国产99在线播放免费 | 久久亚洲精品成人无码 | 国产一区系列在线观看 | 久久国产精品77777 | 久久精品视 | 国产激情视频在线播放 | 亚洲人成伊人成综合网久久久 | 日日摸夜夜爽无码毛片精选 | 免费人成在观看 | 免费大片黄国产在线观看 |