One way coulb be to modify the default "Backup_exit_notify" notification script.
The fifth parameter returned to that script is the errorlevel so you can test this value like that :
=========================================
@if "%5" gtr "1" goto SendMail
@goto end
:SendMail
@call %NB_MAIL_SCRIPT% destinataire@dest.com "NetBackup Fin Client %1 Flux %6 Policy %2 Schedule %3 en Erreur %5" %OUTF%
@goto end
:end
=========================================
Then, instead of calling the default "nbmailscript" you can maybe add another command which launch a program reading the "music file".
Sometimes, a backup just hung. It would not return anything for the backup_exit_notify script to be activited.
Is it possible to put in a timer (one for each backup class)in the script such that if the backup (for each class) exceeded the normal duration of backup, an alarm would be activated by the script on the Java Client?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.