Logging the RMAN input and output on a client
NetBackup has the ability to log the RMAN input and output that is logged locally on the client and also sent to the Activity Monitor. The RMAN_OUTPUT_DIR entry specifies which directory to place the RMAN input and output locally on the client for Oracle Intelligent Policy backups. The log is only created when a backup is run using an Oracle Intelligent Policy (OIP) and the file is continuously updated during the RMAN backup. Only one RMAN_OUTPUT_DIR entry per client is allowed in a Windows environment. In a UNIX environment, each user can place the output in a different location by adding the RMAN_OUTPUT_DIR entry to $HOME/bp.conf file. The value in the $HOME/bp.conf file takes precedence if it exists. NetBackup does not clean up the log files so the Oracle user has to clean up the log files manually.
You must use the nbgetconfig and the nbsetconfig commands to view, add, or change the option. The directory that is specified must exist and the Oracle user needs to have permission to create files within the directory.
Use the following format:
RMAN_OUTPUT_DIR = directory_name
The directory_name is a directory to which the Oracle user has permission to create files within the directory.
For information about these commands, see the NetBackup Commands Reference Guide.
The file name has a specific format that includes the client name, policy name (OIP), schedule type, date stamp (yyyymmdd), and timestamp (hhmmss). The following is an example of how the file name looks in the directory:
orac121_backuppolicyname_full_20160201_184157_GMT.log
The following are examples of RMAN_OUTPUT_DIR entires:
Windows: install_path\oracle\oracle_logs\RMAN
UNIX: /oracle/oracle_logs/rman