6:Logging RMAN Output--记录rman日志
rman target / log=rman_output.log--操作系统级别
RMAN> spool log to rman_output.log --Rman命令行
RMAN> set echo on
RMAN> backup database;
RMAN> spool log off;
7:Viewing RMAN Command History
SQL>select sid, recid, output from v$rman_output order by recid
8:Enabling RMAN’s Debug Output
--OS
rman target / debug=all log=rman_output.log
rman target / debug=io --
--Fr om Within RMAN
RMAN> spool log to rman_output.log
RMAN> debug on
RMAN> set echo on
RMAN> backup database;
RMAN> debug off
RMAN> spool log off
--W hen Configuring a Channel
RMAN> configure channel device type disk debug=5 trace=5;
9:Enabling Granular Time Reporting
export NLS_DATE_FORMAT 'dd-mon-yyyy hh24:mi:ss'
NLS_DATE_FORMAT 'dd-mon-yyyy hh24:mi:ss'
