If you have setup the script to perform auto backup with media manager like Netbackup then you must need to setup the RMAN backup log file at the targeted oracle server to backup status. To create a log file you need put RMAN_LOG_FILE parameter in the script. however to create log file name with date and time to avoid over writing you need to add below line before RMAN_LOG_FILE parameter. Here is example.
NOW=$(date +"%d-%m-%Y-%T")
RMAN_LOG_FILE="/home/oracle/rmanscript/log/rman_nbu_daily-$NOW.log"
No comments:
Post a Comment