$ rman target / nocatalog
 
spool log to /tmp/backup.teta.log
 
run
{
  ALLOCATE CHANNEL ch11 TYPE DISK;
  BACKUP AS COMPRESSED BACKUPSET skip inaccessible
  FORMAT '/backup_teta/%T_D_%d_DBID_%I_%u_s%s_p%p.bck'
  DATABASE
  CURRENT CONTROLFILE
  FORMAT '/backup_teta/%T_C_%d_DBID_%I_%u.bck'
  SPFILE
  FORMAT '/backup_teta/%T_S_%d_DBID_%I_%u.bck'
  PLUS ARCHIVELOG
  FORMAT '/backup_teta/%T_A_%d_DBID_%I_%u_s%s_p%p.bck';
  RELEASE CHANNEL ch11;
}
