|Oracle9i Recovery Manager Reference
Release 2 (9.2)
Part Number A96565-01
RMAN Commands , 53 of 59
To write RMAN output to a log file.
If the file does not already exist, then RMAN creates it. If the file does exist, then RMAN overwrites the file, unless
APPEND is specified, in which case RMAN appends its output to the end of the file. The
SPOOL command does not terminate if the specified file cannot be opened for writing. Instead, RMAN turns
"cmdLine" for a description of
SQL command at the RMAN prompt.
This example directs RMAN output to standard output for the backup of datafile
1, then directs output to a log file for the backup of datafile
2, then directs output to a different log file for the whole database backup: