




已阅读5页,还剩8页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
NBU7.0_for linux_Oracle_异机恢复1. 在目标客户机安装NBU Client软件,运行/usr/openv/netbackup/bin/oracle_link.sh 连接数据库;2. 编辑/usr/openv/netbackup/bp.conf文件,写入源客户机主机名# cat bp.confSERVER = waanbu1CLIENT_NAME = p520-1CLIENT_NAME = svc3. 编辑etc/hosts文件,写入Master Server和源客户机的解析4. 在Master Server上面创建文件/netbackup/db/altnames/No.Restriction,文件内容为空;5. 重启目标客户机的NBU服务;6. 数据库准备工作:a. 数据库版本一致;b. 数据库SID一致;c. 数据库ORACLE_HOME一致;d. 数据库监听服务,目录结构和pfile文件需要一致;7. 恢复控制文件:打开Master Server恢复控制台选择FileSpecify Netbackup Machines and Policy Type。点击编辑客户机列表;添加目标和源客户机主机名选择源客户机和目标客户机以及备份类型点击 Select for Restore选择最新的控制文件点击ActionRestore选择恢复目标文件目录查看恢复状态。控制文件恢复到异机磁盘完毕后:a. 进入oracle用户$rmanRMANconnect target /Connected to target database: DCTM(not mount)RMANset dbid=3248879935set dbid=702089904b. 使用RMAN restore已经恢复到本地磁盘的控制文件RMANrun2allocate channel ch00 type disk;3restore controlfile from /usr/openv/script/control.ora;4release channel ch00;5c. 将数据库置于mount状态:RMANAlter database mount;d. 使用RMAN恢复数据文件;8. 异机恢复数据文件RMAN run2 allocate channel ch00 typesbt_tape;3 send NB_ORA_CLIENT=eas02,NB_ORA_SERV=backup;4 restore database;5 release channel ch00;6 以上执行的是将数据文件基本恢复到oradata中,然后执行recoverRMAN run2 allocate channel ch00 typesbt_tape;3 send NB_ORA_CLIENT=svc,NB_ORA_SERV=waanbu1;4 recover database;5 release channel ch00;6 allocated channel: ch00channel ch00: sid=1639 devtype=SBT_TAPEchannel ch00: Veritas NetBackup for Oracle - Release 7.0 (2010010501)sent command to channel: ch00Starting recover at 16-MAR-11channel ch00: starting incremental datafile backupset restorechannel ch00: specifying datafile(s) to restore from backup setdestination for restore of datafile 00120: /oraapp1/oradata/dctm/dm_CNPDC_PK_db.dbfdestination for restore of datafile 00129: /oraapp1/oradata/dctm/dm_CNPDC_XA_ind.dbfdestination for restore of datafile 00131: /oraapp1/oradata/dctm/dm_CNPDC_CQ_ind.dbfdestination for restore of datafile 00133: /oraapp1/oradata/dctm/dm_CNPDC_JA_ind.dbfdestination for restore of datafile 00135: /oraapp1/oradata/dctm/dm_CNPDC_LJ_ind.dbfchannel ch00: reading from backup piece bk_789_1_745784966channel ch00: restored backup piece 1piece handle=bk_789_1_745784966 tag=HOT_DB_BK_LEVEL0channel ch00: restore complete, elapsed time: 00:01:05channel ch00: starting incremental datafile backupset restorechannel ch00: specifying datafile(s) to restore from backup setdestination for restore of datafile 00009: /oraapp1/oradata/dctm/dm_CNPDC_AC_db.dbfdestination for restore of datafile 00023: /oraapp1/oradata/dctm/dm_CNPDC_MX_ind.dbfdestination for restore of datafile 00048: /oraapp1/oradata/dctm/dm_CNPDC_BZ_db.dbfdestination for restore of datafile 00089: /oraapp1/oradata/dctm/dm_CNPDC_CK_ind.dbfdestination for restore of datafile 00096: /oraapp1/oradata/dctm/dm_CNPDC_HY_db.dbfchannel ch00: reading from backup piece bk_798_1_745785550channel ch00: restored backup piece 1piece handle=bk_798_1_745785550 tag=HOT_DB_BK_LEVEL0channel ch00: restore complete, elapsed time: 00:01:05channel ch00: starting incremental datafile backupset restorechannel ch00: specifying datafile(s) to restore from backup setdestination for restore of datafile 00058: /oraapp1/oradata/dctm/dm_CNPDC_WA_db.dbfdestination for restore of datafile 00082: /oraapp1/oradata/dctm/dm_CNPDC_CG_db.dbfdestination for restore of datafile 00109: /oraapp1/oradata/dctm/dm_CNPDC_AZ_ind.dbfdestination for restore of datafile 00116: /oraapp1/oradata/dctm/dm_CNPDC_BN_db.dbfdestination for restore of datafile 00128: /oraapp1/oradata/dctm/dm_CNPDC_XA_db.dbfchannel ch00: reading from backup piece bk_808_1_745786140channel ch00: restored backup piece 1piece handle=bk_808_1_745786140 tag=HOT_DB_BK_LEVEL0channel ch00: restore complete, elapsed time: 00:01:05starting media recoverychannel ch00: starting archive log restore to default destinationchannel ch00: restoring archive logarchive log thread=1 sequence=14970channel ch00: restoring archive logarchive log thread=1 sequence=14971channel ch00: restoring archive logarchive log thread=1 sequence=14972channel ch00: reading from backup piece al_821_1_745786849channel ch00: restored backup piece 1piece handle=al_821_1_745786849 tag=TAG20110314T185921channel ch00: restore complete, elapsed time: 00:00:55archive log filename=/oraapp1/archivelog/1_14970_727030399.dbf thread=1 sequence=14970archive log filename=/oraapp1/archivelog/1_14971_727030399.dbf thread=1 sequence=14971archive log filename=/oraapp1/archivelog/1_14972_727030399.dbf thread=1 sequence=14972channel ch00: starting archive log restore to default destinationchannel ch00: restoring archive logarchive log thread=1 sequence=14982channel ch00: restoring archive logarchive log thread=1 sequence=14983channel ch00: restoring archive logarchive log thread=1 sequence=14984channel ch00: restoring archive logarchive log thread=1 sequence=14985channel ch00: restoring archive logarchive log thread=1 sequence=14986channel ch00: restoring archive logarchive log thread=1 sequence=14987channel ch00: restoring archive logarchive log thread=1 sequence=14988channel ch00: restoring archive logarchive log thread=1 sequence=14989channel ch00: restoring archive logarchive log thread=1 sequence=14990channel ch00: reading from backup piece al_824_1_745808362channel ch00: restored backup piece 1piece handle=al_824_1_745808362 tag=TAG20110315T005922channel ch00: restore complete, elapsed time: 00:01:15channel ch00: starting archive log restore to default destinationchannel ch00: restoring archive logarchive log thread=1 sequence=14973channel ch00: restoring archive logarchive log thread=1 sequence=14974channel ch00: restoring archive logarchive log thread=1 sequence=14975channel ch00: restoring archive logarchive log thread=1 sequence=14976channel ch00: restoring archive logarchive log thread=1 sequence=14977channel ch00: restoring archive logarchive log thread=1 sequence=14978channel ch00: restoring archive logarchive log thread=1 sequence=14979channel ch00: restoring archive logarchive log thread=1 sequence=14980channel ch00: restoring archive logarchive log thread=1 sequence=14981channel ch00: reading from backup piece al_823_1_745808362channel ch00: restored backup piece 1piece handle=al_823_1_745808362 tag=TAG20110315T005922channel ch00: restore complete, elapsed time: 00:01:05archive log filename=/oraapp1/archivelog/1_14973_727030399.dbf thread=1 sequence=14973archive log filename=/oraapp1/archivelog/1_14974_727030399.dbf thread=1 sequence=14974archive log filename=/oraapp1/archivelog/1_14975_727030399.dbf thread=1 sequence=14975archive log filename=/oraapp1/archivelog/1_14976_727030399.dbf thread=1 sequence=14976archive log filename=/oraapp1/archivelog/1_14977_727030399.dbf thread=1 sequence=14977archive log filename=/oraapp1/archivelog/1_14978_727030399.dbf thread=1 sequence=14978archive log filename=/oraapp1/archivelog/1_14979_727030399.dbf thread=1 sequence=14979archive log filename=/oraapp1/archivelog/1_14980_727030399.dbf thread=1 sequence=14980archive log filename=/oraapp1/archivelog/1_14981_727030399.dbf thread=1 sequence=14981archive log filename=/oraapp1/archivelog/1_14982_727030399.dbf thread=1 sequence=14982archive log filename=/oraapp1/archivelog/1_14983_727030399.dbf thread=1 sequence=14983archive log filename=/oraapp1/archivelog/1_14984_727030399.dbf thread=1 sequence=14984archive log filename=/oraapp1/archivelog/1_14985_727030399.dbf thread=1 sequence=14985archive log filename=/oraapp1/archivelog/1_14986_727030399.dbf thread=1 sequence=14986archive log filename=/oraapp1/archivelog/1_14987_727030399.dbf thread=1 sequence=14987archive log filename=/oraapp1/archivelog/1_14988_727030399.dbf thread=1 sequence=14988archive log filename=/oraapp1/archivelog/1_14989_727030399.dbf thread=1 sequence=14989archive log filename=/oraapp1/archivelog/1_14990_727030399.dbf thread=1 sequence=14990unable to find archive logarchive log thread=1 sequence=14991released channel: ch00RMAN-00571: =RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =RMAN-00571: =RMAN-03002: failure of recover command at 03/16/2011 12:18:06RMAN-06054: media recovery requesting unknown log: thread 1 seq 14991 lowscn 403666149以上报错是因为需要将数据库置于新的归档中$ sqlplus /nologSQL*Plus: Release 10.2.0.4.0 - Production on Wed Mar
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年上半年江西九江市事业单位“才汇九江”高层次人才招聘373人考前自测高频考点模拟试题及答案详解(各地真题)
- 涂料产品知识培训
- 2025江苏南京交通职业技术学院招聘高层次人才14人模拟试卷及答案详解(历年真题)
- 2025年福建省福州大学招聘2人模拟试卷及答案详解(有一套)
- 2025黑龙江黑河市爱辉区中心敬老院招聘护理员、夜巡安保员及消防设施操作员13人考前自测高频考点模拟试题有完整答案详解
- 2025广东广州市中山大学孙逸仙纪念医院全科医学科医教研岗位招聘1人考前自测高频考点模拟试题(含答案详解)
- 2025年度哈尔滨市木兰县“丁香人才周”(春季)事业单位引才招聘76人模拟试卷及完整答案详解
- 2025年合肥师范学院辅导员招聘32人模拟试卷及答案详解(新)
- 2025年池州市贵池区事业单位公开招聘67人模拟试卷及参考答案详解
- 安全培训考核省级题库课件
- 2025公需课《人工智能赋能制造业高质量发展》试题及答案
- 【MOOC】研究生英语科技论文写作-北京科技大学 中国大学慕课MOOC答案
- 现代医学实验动物科学和比较医学研究
- 《发现雕塑之美》第4课时《加法与减法的艺术》
- 澳门立法会间接选举制度及其实践
- 1-5年级英语单词
- GA 1551.3-2019石油石化系统治安反恐防范要求第3部分:成品油和天然气销售企业
- 2023年吉林省金融控股集团股份有限公司招聘笔试题库及答案解析
- 食品安全BRCGS包装材料全球标准第六版管理手册及程序文件
- 医疗器械批生产记录
- 我是班级小主人主题班会课件
评论
0/150
提交评论