ビデオヘルプ
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Full backup failure script

作成: 07 Jan 2013 • 更新: 08 Jan 2013 | コメント数: 5
この問題は解決されました。 ソリューションを参照してください。

Hi

I would like  to get email alerts for any  full backups that fail. Also I would like to get an email for all backup jobs that fail with a netbackup code 25 or 58.  Can this be accomplished using a script? If so does anyone have an example of this? If not is there a link  that anyone know of that may help?

This would be emails to a (single) recipient, we already get emails through ops center for synthetic backup failures.

Thanks

タグでディスカッションを検索:

コメント コメント数: 最新のコメントを表示

RonCaplinger の写真

You can certainly set up alerts for specific status codes like 25 or 58 using OpsCenter Analytics, but it doesn't supply access to any schedule info like name or type, so it wouldn't be able assist with that.  I can't think of a way that would be done.

Mark_Solutions の写真

You could setup a backup_exit_notify script on the master server using "if" statements for the required errors and use blat / sendmail to send you the alert
Take a look at the one there for the parameters it gets passed
Hope this helps

Authorised Symantec Consultant

Don't forget to "Mark as Solution" if someones advice has solved your issue - and please bring back the Thumbs Up!!.

nbustarter380 の写真

Thanks Ron and Mark for your responses!

Ron, I will take a look at the parameters, hopefully they have good examples I have not written a script before.

RonCaplinger の写真

Wait, it's Monday and/or I just had a "senior moment": yes, you can also create a report in OpsCenter Analytics to notify you of any FULL backup failures.  I've had two set up for about a year now!

The first one is a custom report, using the "Historical" View Type and generating a bar graph, showing a count of the FULL schedule type backups and reporting on "Job Status".  I use this to verify that OpsCenter does, indeed, see some full backups each day, successful or not (there was a time this report stopped working after one of the upgrades that change dthe report filters, so I want o make sure it is seeing all the jobs).

The second one is also a custom report, using the "Tabular" View Type, where you can filter just the FULL schedule types. I have this one listing the failure code, so I can quickly show which ones need to be sent off to the other Ops teams.

ソリューション
nbustarter380 の写真

Ok good! Thanks Ron for your help, I appreciate it!