设为首页 收藏本站
查看: 384|回复: 0

[经验分享] NBU异机恢复ORACLE(遇到的问题)

[复制链接]

尚未签到

发表于 2018-9-22 10:50:05 | 显示全部楼层 |阅读模式
RMAN> RUN {  2> ALLOCATE CHANNEL ch00 TYPE  'SBT_TAPE';
  3> SEND 'NB_ORA_SERV=nbuserver,NB_ORA_CLIENT=oracle10grac1';
  4> set newname for datafile 1 to'/opt/oracle/oradata/orcl/system.256.779374375';
  5> set newname for datafile 2 to'/opt/oracle/oradata/orcl/undotbs1.258.779374377';
  6> set newname for datafile 3 to'/opt/oracle/oradata/orcl/sysaux.257.779374377';
  7> set newname for datafile 4 to'/opt/oracle/oradata/orcl/users.259.779374377';
  8> set newname for datafile 5 to'/opt/oracle/oradata/orcl/undotbs2.264.779374547';
  9> set newname for datafile 6 to'/opt/oracle/oradata/orcl/test01.dbf';
  10> RESTORE    DATABASE;

  11>>  12> }
  released channel: ORA_DISK_1
  allocated channel: ch00
  channel ch00: sid=540 devtype=SBT_TAPE

  channel ch00: Veritas NetBackup for Oracle ->  sent command to channel: ch00
  executing command: SET NEWNAME
  executing command: SET NEWNAME
  executing command: SET NEWNAME
  executing command: SET NEWNAME
  executing command: SET NEWNAME
  executing command: SET NEWNAME
  Starting restore at 11-APR-12
  Starting implicit crosscheck backup at 11-APR-12
  Crosschecked 16 objects
  Finished implicit crosscheck backup at 11-APR-12
  Starting implicit crosscheck copy at 11-APR-12
  Crosschecked 2 objects
  Finished implicit crosscheck copy at 11-APR-12
  searching for all files in the recovery area
  cataloging files...
  no files cataloged
  channel ch00: starting datafile backupset restore
  channel ch00: specifying datafile(s) to restore from backup set
  restoring datafile 00002 to /opt/oracle/oradata/orcl/undotbs1.258.779374377
  restoring datafile 00003 to /opt/oracle/oradata/orcl/sysaux.257.779374377
  restoring datafile 00006 to /opt/oracle/oradata/orcl/test01.dbf
  channel ch00: reading from backup piece bk_376_1_780357313
  channel ch00: restored backup piece 1
  piece handle=bk_376_1_780357313 tag=HOT_DB_BK_LEVEL0
  channel ch00: restore complete, elapsed time: 00:00:46
  channel ch00: starting datafile backupset restore
  channel ch00: specifying datafile(s) to restore from backup set
  restoring datafile 00001 to /opt/oracle/oradata/orcl/system.256.779374375
  restoring datafile 00004 to /opt/oracle/oradata/orcl/users.259.779374377
  restoring datafile 00005 to /opt/oracle/oradata/orcl/undotbs2.264.779374547
  channel ch00: reading from backup piece bk_375_1_780357313
  channel ch00: restored backup piece 1
  piece handle=bk_375_1_780357313 tag=HOT_DB_BK_LEVEL0
  channel ch00: restore complete, elapsed time: 00:00:55
  Finished restore at 11-APR-12
  released channel: ch00
  RMAN> RUN {
  2> ALLOCATE CHANNEL ch00 TYPE  'SBT_TAPE';
  3> SEND 'NB_ORA_SERV=nbuserver,NB_ORA_CLIENT=oracle10grac1';
  4> set newname for datafile 1 to'/opt/oracle/oradata/orcl/system.256.779374375';
  5> set newname for datafile 2 to'/opt/oracle/oradata/orcl/undotbs1.258.779374377';
  6> set newname for datafile 3 to'/opt/oracle/oradata/orcl/sysaux.257.779374377';
  7> set newname for datafile 4 to'/opt/oracle/oradata/orcl/users.259.779374377';
  8> set newname for datafile 5 to'/opt/oracle/oradata/orcl/undotbs2.264.779374547';
  9> set newname for datafile 6 to'/opt/oracle/oradata/orcl/test01.dbf';
  10> RESTORE    DATABASE;
  11> RESTORE ARCHIVELOG ALL;

  12>>  13> }
  allocated channel: ch00
  channel ch00: sid=540 devtype=SBT_TAPE

  channel ch00: Veritas NetBackup for Oracle ->  sent command to channel: ch00
  executing command: SET NEWNAME
  executing command: SET NEWNAME
  executing command: SET NEWNAME
  executing command: SET NEWNAME
  executing command: SET NEWNAME
  executing command: SET NEWNAME
  Starting restore at 11-APR-12
  skipping datafile 2; already restored to file /opt/oracle/oradata/orcl/undotbs1.258.779374377
  skipping datafile 3; already restored to file /opt/oracle/oradata/orcl/sysaux.257.779374377
  skipping datafile 6; already restored to file /opt/oracle/oradata/orcl/test01.dbf
  skipping datafile 1; already restored to file /opt/oracle/oradata/orcl/system.256.779374375
  skipping datafile 4; already restored to file /opt/oracle/oradata/orcl/users.259.779374377
  skipping datafile 5; already restored to file /opt/oracle/oradata/orcl/undotbs2.264.779374547
  Finished restore at 11-APR-12
  Starting restore at 11-APR-12
  released channel: ch00
  RMAN-00571: ===========================================================
  RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
  RMAN-00571: ===========================================================
  RMAN-03002: failure of restore command at 04/11/2012 22:19:29
  RMAN-06026: some targets not found - aborting restore
  RMAN-06025: no backup of log thread 2 seq 130 lowscn 929777 found to restore
  RMAN-06025: no backup of log thread 2 seq 24 lowscn 440269 found to restore
  RMAN-06025: no backup of log thread 2 seq 23 lowscn 439595 found to restore
  RMAN-06025: no backup of log thread 2 seq 22 lowscn 438461 found to restore
  RMAN-06025: no backup of log thread 2 seq 21 lowscn 438396 found to restore
  RMAN-06025: no backup of log thread 2 seq 20 lowscn 438172 found to restore
  RMAN-06025: no backup of log thread 2 seq 19 lowscn 438148 found to restore
  RMAN-06025: no backup of log thread 2 seq 18 lowscn 437934 found to restore
  RMAN-06025: no backup of log thread 2 seq 17 lowscn 437909 found to restore
  RMAN-06025: no backup of log thread 2 seq 16 lowscn 437791 found to restore
  RMAN-06025: no backup of log thread 2 seq 15 lowscn 437770 found to restore
  RMAN-06025: no backup of log thread 2 seq 14 lowscn 437655 found to restore
  RMAN-06025: no backup of log thread 2 seq 13 lowscn 437629 found to restore
  RMAN-06025: no backup of log thread 2 seq 12 lowscn 436883 found to restore
  RMAN-06025: no backup of log thread 2 seq 11 lowscn 435254 found to restore
  RMAN-06025: no backup of log thread 2 seq 10 lowscn 434190 found to restore
  RMAN-06025: no backup of log thread 2 seq 9 lowscn 434186 found to restore
  RMAN-06025: no backup of log thread 2 seq 8 lowscn 434176 found to restore
  RMAN-06025: no backup of log thread 2 seq 7 lowscn 433779 found to restore
  RMAN-06025: no backup of log thread 2 seq 6 lowscn 433317 found to restore
  RMAN-06025: no backup of log thread 2 seq 5 lowscn 431666 found to restore
  RMAN-06025: no backup of log thread 2 seq 4 lowscn 431648 found to restore
  RMAN-06025: no backup of log thread 2 seq 3 lowscn 403797 found to restore
  RMAN-06025: no backup of log thread 2 seq 2 lowscn 401973 found to restore
  RMAN-06025: no backup of log thread 2 seq 1 lowscn 398422 found to restore
  RMAN-06025: no backup of log thread 1 seq 131 lowscn 929783 found to restore
  RMAN-06025: no backup of log thread 1 seq 15 lowscn 437906 found to restore
  RMAN-06025: no backup of log thread 1 seq 14 lowscn 437793 found to restore
  RMAN-06025: no backup of log thread 1 seq 13 lowscn 437768 found to restore
  RMAN-06025: no backup of log thread 1 seq 12 lowscn 437658 found to restore
  RMAN-06025: no backup of log thread 1 seq 11 lowscn 437627 found to restore
  RMAN-06025: no backup of log thread 1 seq 10 lowscn 436879 found to restore
  RMAN-06025: no backup of log thread 1 seq 9 lowscn 435257 found to restore
  RMAN-06025: no backup of log thread 1 seq 8 lowscn 434179 found to restore
  RMAN-06025: no backup of log thread 1 seq 7 lowscn 431669 found to restore
  RMAN-06025: no backup of log thread 1 seq 6 lowscn 431645 found to restore
  RMAN-06025: no backup of log thread 1 seq 5 lowscn 429741 found to restore
  RMAN-06025: no backup of log thread 1 seq 4 lowscn 403799 found to restore
  RMAN-06025: no backup of log thread 1 seq 3 lowscn 402118 found to restore
  RMAN-06025: no backup of log thread 1 seq 2 lowscn 393397 found to restore
  RMAN> RECOVER DATABASE ;
  Starting recover at 11-APR-12
  allocated channel: ORA_DISK_1
  channel ORA_DISK_1: sid=540 devtype=DISK
  RMAN-00571: ===========================================================
  RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
  RMAN-00571: ===========================================================
  RMAN-03002: failure of recover command at 04/11/2012 22:19:46
  RMAN-06094: datafile 1 must be restored


运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.iyunv.com/thread-599839-1-1.html 上篇帖子: Oracle Enterprises Manager 12C安装 下篇帖子: oracle锁及oracle查找锁定表信息
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表