Forum Discussion

dskwan's avatar
dskwan
Level 3
10 years ago

RMAN backup not trigger

Hi,   I have created an RMAN script and using Netbackup to call the script, RMAN command not triggered but job completed succesfully in Netbackup. Please help if I missed out any steps. Here...
  • Marianne's avatar
    10 years ago

    Someone has added 'echo' at the beginning of most lines.
    So, instead of executing commands, everything will simply be 'echoed'.
    Speak to the person who modified this script.

    echo RUN {
    echo ALLOCATE CHANNEL ch00 TYPE 'SBT_TAPE';
    @REM echo ALLOCATE CHANNEL ch01 TYPE 'SBT_TAPE';
    echo SEND 'NB_ORA_CLIENT=mymswhcmstag01,NB_ORA_SERV=mymswbkp01,NB_ORA_POLICY=MYMSWHCMSTAG01-DB-Daily';
    echo BACKUP
    echo       %BACKUP_TYPE%
    echo       FORMAT 'bk_u%%u_s%%s_p%%p_t%%t'
    echo       DATABASE;
    echo sql 'alter system archive log current';
    echo RELEASE CHANNEL ch00;
    @REM echo RELEASE CHANNEL ch01;
    
    echo # Backup all archive logs
    echo ALLOCATE CHANNEL ch00 TYPE 'SBT_TAPE';
    echo SEND 'NB_ORA_CLIENT=mymswhcmstag01,NB_ORA_SERV=mymswbkp01,NB_ORA_POLICY=MYMSWHCMSTAG01-DB-Daily';
    echo BACKUP
    echo       FILESPERSET 20
    echo       FORMAT 'arch-s%%s-p%%p-t%%t'
    echo       ARCHIVELOG ALL;
    echo RELEASE CHANNEL ch00;