Thứ Tư, 26 tháng 6, 2013

Record log in rman with SPOOL

1) Login RMAN $rman target /
2) Turn on output logfile RMAN> SPOOL LOG to '/home/oracle/crosscheck.txt'
3) Execute command will be keep log
Example:RMAN> crosscheck backupset;
4) Turn off output logfile RMAN> SPOOL LOG OFF;
--------------------------------------------------
RMAN target /
SPOOL LOG to '/home/oracle/audit_sep.txt';
crosscheck backupset;
crosscheck backup of controlfile;
crosscheck archivelog all;
SPOOL LOG OFF;

Không có nhận xét nào:

Đăng nhận xét