RMAN-03009 ORA-19566
RMAN-03009: failure of backup command on c1 channel at 05/13/2022 11:04:19
ORA-19566: exceeded limit of 0 corrupt blocks for file /tmp/soft/app/oracle/oradata/WLH/datafile/o1_mf_users_k76kdpw2_.dbf
查看坏块
select * from v$database_block_corruption;
存在逻辑坏块时,备份失败处理(这个方法可以可以正常恢复出来,但是有坏块的地方还是会有坏块)
4号文件允许100个以下的坏块
set maxcorrupt for datafile 4 to 100;
run {
allocate channel c1 device type disk;
allocate channel c2 device type disk;
set maxcorrupt for datafile 4 to 100;
backup database format ‘/tmp/w/abc/wlh_%U’;
release channel c1;
release channel c2;
}