暂无图片
分享
胡东宝
2019-06-04
oracle 11.2.0.4 单实例 使用爱数备份软件进行完全备份,备份失败

oracle 11.2.0.4 单实例 使用爱数备份软件进行完全备份,备份失败

提示rman报错

rman-03002:failure of crosscheck .command ad 06/04/2019 10:51:51

rman-06091:no channel allocated for maintenance (of an appropriate type)


爱数备份是使用sbt类型,我看自动生成的脚本里有delete archivelog all completed before 'sysdate-5';

在备份的最后时候rman报错


上周六打补丁,补丁到了11.2.0.4.180717



收藏
分享
5条回答
默认
最新
墨天轮

从报错来看,应该是在做crosscheck的时候报的错,请提供下完整的备份语句。

暂无图片 评论
暂无图片 有用 0
yuqi.zhou

这是一个Oracle BUG:

Bug 28432129 - RMAN-06091: no channel allocated for maintenance (of an appropriate type) after installing July 2018 (DBPSU/BP/RU) (文档 ID 28432129.8)


参考上面文档中的Workaround部分处理

Workaround :
Explicitly allocate a disk channel.

Example :
 RMAN> allocate channel for maintenance device type disk;
 RMAN> crosscheck archivelog all;


或者,将delete 命令从run {} 命令块中移到外面来,也可以解决。

暂无图片 评论
暂无图片 有用 0
胡东宝

rman>connect target *

configure channel device type 'sbt_tape' clear;

configure backup optimization off;

run {

allocate channel ch1 device type sbt maxpiecesize=30G;

sent 'ENV=(connect_tag=xxx)';

backup incremental level 0 database format 'ordb_%d_%s_%p_%t' tag '2019_06_04_11_12_16';

release channel ch1;

}

run {

allocate channel ch1 device type sbt maxpiecesize=30g;

sent 'ENV=(connect_tag=xxx)';

crosscheck archivelog all;

backup archivelog from toem 'sysdate-3' format 'arch_%d_%s_%p_%t' tag '2019_06_04_11_12_16';

release channel ch1;

}

run {

allocate channel ch1 device type sbt maxpiecesize=30g;

sent 'ENV=(connect_tag=xxx)';

backup current controlfile format 'ctrl_%d_%s_%p_%t' tag '2019_06_04_11_12_16';

delete archivelog all completed before 'sysdate-5';

release channel ch1;

}

暂无图片 评论
暂无图片 有用 0
胡东宝

谢谢各位老师,我打了p28432129_11204180717_Linux-x86-64.zip这个补丁,问题

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