Syntax:
%rman target / log rman.log trace rman.trc debug
今天測試RMAN還原controlfile 時遇到ORA-27191: sbtinfo2 returned error ,
建議可以開啟debug mode 去測試
#for Veritas Netbackup
rman target / nocatalog log rman.log append trace rman.trc debug <<EOF
set DBID=1234567890
run {
allocate channel ch00 type 'sbt_tape';
SEND 'NB_ORA_SERV=serv1,NB_ORA_CLIENT=dbtest';
restore controlfile to '/restore/oradata/orcl/control_01_ctl'
from 'cntrl_1344_1_123476561';
}
EOF
沒有留言:
張貼留言