Forum Discussion

albatroz19's avatar
albatroz19
Level 5
11 months ago

Netbackup backup hang/failure traps

Hi,
we have  a problem with an Oracle DB backup that remain in hang, however noted that if some backup remain in hang, we couldn't see at risk to loose data.

Exist a  method to avoid this issue, so if backup is running more 24Hours, we can receive an alarm and monitoring team can open a ticket?
Any traps?

Thanks in advance,
Reagrds

3 Replies

  • You can write your script using bpdbjobs with awk and put it in a cron to run and email the report, like this:

    bpdbjobs -report | awk '{ if ( $2 == "Active" ) print $0 }' | sort -nk 8 | head -3 |mail -s "Subjects" email_address

    $8 is elapsed time.

  • Hi,
    thanks for answer, but suggested solution not work.

    Any other suggest?

    Thanks in advance,
    Regards

    • quebek's avatar
      quebek
      Moderator

      Hi,

      Well I think is should work - your env is not really well configured... Can you tell on what OS NBU is running, version of NBU etc...

      The other option could be either OpsCenter or IT Analytics if you have it in your env. The tool depends on the NBU version you have installed/in use.