-- =======================================================================
-- Using The Spool Command
-- =======================================================================
RMAN> spool log to '/tmp/backup.log';
RMAN> LIST BACKUP;
RMAN> spool log off;
/* --- O comando append adicionará o novo conteúdo ao final do arquivo de log chamado backup.log ---*/
RMAN> spool log to '/tmp/rman/backup.log' append