天天看点

rman备份时记录更多的log 或者trace信息

有时候,我们备份时会hang住,或出现莫名其妙的问题

有以下2种方法,可以多记录log

1: 分配通道时

RMAN>

allocate channel t1 device type sbt PARMS='ENV=(NSR_SERVER=SHMT.US.ORACLE.COM, NSR_CLIENT=${THE_CLIENT}, NSR_GROUP=tape)' trace=2;

2:在rman命令 中指定 debug/trace

%rman target /  log rman.log trace rman.trc debug

metalink id 412950.1