暂无图片
分享
Together
2019-12-27
oracle 12c恢复cdb时recover database报错

RMAN> run {
2> allocate channel c1 device type sbt parms=‘ENV=(NB_ORA_SERV=nbuserevr,NB_ORA_CLIENT=mhdb1),SBT_LIBRARY=/usr/openv/netbackup/bin/libobk.so64’;
3> allocate channel c2 device type sbt parms=‘ENV=(NB_ORA_SERV=nbuserevr,NB_ORA_CLIENT=mhdb1),SBT_LIBRARY=/usr/openv/netbackup/bin/libobk.so64’;
4> allocate channel c3 device type sbt parms=‘ENV=(NB_ORA_SERV=nbuserevr,NB_ORA_CLIENT=mhdb2),SBT_LIBRARY=/usr/openv/netbackup/bin/libobk.so64’;
5> allocate channel c4 device type sbt parms=‘ENV=(NB_ORA_SERV=nbuserevr,NB_ORA_CLIENT=mhdb2),SBT_LIBRARY=/usr/openv/netbackup/bin/libobk.so64’;
6> recover database root;
7> release channel c1;
8> release channel c2;
9> release channel c3;
10> release channel c4;
11> }

allocated channel: c1
channel c1: SID=3516 device type=SBT_TAPE
channel c1: Veritas NetBackup for Oracle - Release 7.5 (2012020801)

allocated channel: c2
channel c2: SID=3611 device type=SBT_TAPE
channel c2: Veritas NetBackup for Oracle - Release 7.5 (2012020801)

allocated channel: c3
channel c3: SID=3706 device type=SBT_TAPE
channel c3: Veritas NetBackup for Oracle - Release 7.5 (2012020801)

allocated channel: c4
channel c4: SID=3801 device type=SBT_TAPE
channel c4: Veritas NetBackup for Oracle - Release 7.5 (2012020801)

Starting recover at 27-DEC-19

released channel: c1
released channel: c2
released channel: c3
released channel: c4
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of recover command at 12/27/2019 15:14:23
RMAN-06067: RECOVER DATABASE required with a backup or created control file

始终有这个报错
RMAN> switch database to copy;

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of switch to copy command at 12/27/2019 15:13:58
RMAN-06571: datafile 1 does not have recoverable copy

收藏
分享
2条回答
默认
最新
lscomeon

首先应该查一下
RECOVER DATABASE required with a backup or created control file
然后再和你的恢复步骤对比下看看

暂无图片 评论
暂无图片 有用 0
Together
问题已关闭: 问题已经得到解决
暂无图片 评论
暂无图片 有用 0
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
暂无图片墨值悬赏