Skip to Content
avatar image
Former Member

Extension of BRTools (sending mails)

Hi Experts, SAP,

I opened a OSS message but SAP replied I should post a message via SDN.

I have a question/suggestion for SAP.

Isn't it possible to build an option into the brtools (brbackup, brarchive, ...) to send a mail with the latest log file?

When you have a DR and you need to be able to restore till the latest backup and archivelog files, you need to know what are the latest archivelog fileswhich are backup. In case all your file systems are destroyed you don't

have any logs anymore and the OS backup normally runs once a day.

It would be great if we could sent the latest brbackup or brarchive log via mail when it finished.

We could also solve this by running a script. But if we change the entries in table SDBAC and you launch the backup via a script. It generates two entries in dbacockpit. (this wasn't the case in DB13 on 4.7). When there are two entries our monitoring picks this up and generates an alert.

This is only a suggestion but do you think this is possible?

Thanks in advance for your feedback

Kind regards,

Dirk

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Mar 24, 2011 at 10:38 AM

    You could create a CCMS autoreaction with a mail containing the log once it's finished.

    Markus

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 06, 2011 at 02:52 PM

    Hello Markus,

    Is there an existing sap autoreaction method to do that (save the file when the brarchive run is finished)?

    My idea was to monitor the last brachive logfile via ccms logfile monitoring and start an autoreaction method when the pattern u201CBRARCHIVE COMPLETEDu201D or u201CBRARCHIVE TERMINATEDu201D is found.

    The analysis method u201CCCMS_SHOW_FILE_FROM_TEXT_ATTR u201C is able to display the content of the file in a pop-up screen.

    So to use this method as autoreaction method to save the content of the logfile locally, i have two problems

    1) This method has to be started on the node "Complete Name" (not on "Lines found for pattern") because the logfile name is picked up from the text attribute. Is it possible to force the autoreaction status of a node to "run required" from another node (via e.g autoreaction method)?

    2) The content of this function module is displayed in a screen. We have to save it locally in Solution manager.

    Do you have another idea?

    Thanks a lot for your help.

    KR,

    Benjamin

    Add comment
    10|10000 characters needed characters exceeded