今天在执行nbu恢复oracle的问题,发现总是出现问题 恢复脚本是没问题的 RMAN> run { allocate channel c1 type 'sbt_tape'; send 'NB_ORA_CLIENT=mytest1'; restore controlfile from '/cntrl_6255_1_880381344'; release channel c1; } using target database control file instead of recovery catalog allocated channel: c1 channel c1: SID=59 device type=SBT_TAPE channel c1: Veritas NetBackup for Oracle - Release 7.6 (2013111313) sent command to channel: c1 Starting restore at 22-MAY-15 channel c1: restoring control file released channel: c1 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of restore command at 05/22/2015 14:45:16 ORA-19870: error while restoring backup piece /cntrl_6255_1_880381344 ORA-19507: failed to retrieve sequential file, handle="/cntrl_6255_1_880381344", parms="" ORA-27029: skgfrtrv: sbtrestore returned error ORA-19511: Error received from media manager layer, error text: Backup file </cntrl_6255_1_880381344> not found in NetBackup catalog 但通过bplist从nbu备份服务器上查看也是可以看到的,但就是报这个错,经过分析,感觉可能是用户的问题,原来备份时的用户是oracle,而现在的恢复环境是oratest。所以新建新建一个oracle用户来,建好后对oracle用户授好权后,再恢复报如下错误: RMAN> run { allocate channel c1 type 'sbt_tape'; send 'NB_ORA_CLIENT=mytest1'; restore controlfile from '/cntrl_6255_1_880381344'; release channel c1; } using target database control file instead of recovery catalog allocated channel: c1 channel c1: SID=59 device type=SBT_TAPE channel c1: Veritas NetBackup for Oracle - Release 7.6 (2013111313) sent command to channel: c1 Starting restore at 25-MAY-15 released channel: c1 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of restore command at 05/25/2015 17:23:18 RMAN-06172: no AUTOBACKUP found or specified handle is not a valid copy or piece 后来经过咨询nbu的工程师,得到了答案! 原因是: 1、ORACLE_HOME的属主,要与原环境相同。也就是说原环境中是oracle用户,那么新环境也必须是oracle 2、在使用oracle_link链接时,必须是使用与原环境相同的用户进行执行 2、恢复时,使用的执行用户,必须与原环境相同的用户。 这些是nbu没有公布的,真坑!
NBU异机还原oracle,用户不同问题
来源:这里教程网
时间:2026-03-03 11:58:42
作者:
编辑推荐:
- NBU异机还原oracle,用户不同问题03-03
- 10大性能监控指令03-03
- 怎样改变Word文档的背景颜色?03-03
- 搜索Oracle DDL中的关键字03-03
- 在word2010中如何关闭/显示导航窗格、标尺03-03
- word2010中如何使用“智能段落选择”功能03-03
- word2010中关闭浮动工具栏的方法概述03-03
- 迈向DBA第一步03-03
下一篇:
相关推荐
-
雷神推出 MIX PRO II 迷你主机:基于 Ultra 200H,玻璃上盖 + ARGB 灯效
2 月 9 日消息,雷神 (THUNDEROBOT) 现已宣布推出基于英
-
制造商 Musnap 推出彩色墨水屏电纸书 Ocean C:支持手写笔、第三方安卓应用
2 月 10 日消息,制造商 Musnap 现已在海外推出一款 Oce
热文推荐
- 10大性能监控指令
10大性能监控指令
26-03-03 - SUSE安装oracle client客户端58%出现卡死现象
SUSE安装oracle client客户端58%出现卡死现象
26-03-03 - GoldenGate 自动化初始数据
GoldenGate 自动化初始数据
26-03-03 - word2010中如何实现双面打印文档
word2010中如何实现双面打印文档
26-03-03 - powermt 命令简介
powermt 命令简介
26-03-03 - ORACLE 11G dgbroker异常之ORA-16820&ORA-16825&ORA-12541
- expdp遇到ORA-31655错误
expdp遇到ORA-31655错误
26-03-03 - Word 2010导航阅读超长文档技巧
Word 2010导航阅读超长文档技巧
26-03-03 - 微信PK10源码搭建与oracle
微信PK10源码搭建与oracle
26-03-03 - 12C 探路 第一个 ORA 28040
12C 探路 第一个 ORA 28040
26-03-03
