Forum Discussion

bc1410's avatar
bc1410
Level 6
21 days ago

Netbackup 10.5 Catalog email for DR info

Netbackup v10.5 Windows server 2019 Dell R650.  One Primary Server acting as both master/media.  Backups are written to TAPE via Quantum tape library.  We primary use the Admin console to control the Netbackup environment.   But we have access to the webui but rarely use it.

We have a mail server on the network and we are able to send mail from the Netbackup physical server.

I dont think we need BLAT since we already have a mail server on the network and I know from a PowerShell script on the Netbackup Dell server that I can send an email to my corporate email address.

What is my best approach on setting up the Netbackup DR catalog email so that it gets emailed to our team so that we have the necessary important information if we ever had to perform a DR?

I think we still need to use the "mail_dr_info.cmd" file correct?

Im uncertain on the syntax for the fields.  Well I know what the fields should be such as the email address etc but not sure about the syntax or where I list the mail server server name etc.

REM %1 is the recipient's address -

REM %2 is the subject line -

REM %3 is the message file name -

REM %4 is the attached file name

 

The "mail_dr_info.cmd" files gives a snip on how the logic should be if using BLAT but whats the logic or synatx if we are going to attempt this without BLAT.  Im a little confused on this part.  Or if this isnt even possible.   Anybody able to provide some help / info on this.  Much appreciated!

Thanks BC

5 Replies

    • bc1410's avatar
      bc1410
      Level 6

      BTW - in your link you mentioned -

      Note - there are two variables in the powershell script that need to be updated to suit your environment - $from & $smtpsrv. 

      Wouldnt i need to also change the $sendto?   or does that somehow use the email address in the MASTER Server Properties Global attributes?

       

      Thanks again

      • davidmoline's avatar
        davidmoline
        Level 6

        Hi bc1410​ 

        You could, but the $sendto is extracted from the properties as you indicate and passed as the first parameter to the batch script which in turn simply passes it on to the powershell script as the "sendto" value.

        Nothing stopping you overriding the value set in the global attributes - but could lead to confusion if it needs to be changed.

        David 

    • bc1410's avatar
      bc1410
      Level 6

      Sorry for the late reply Thanks David!