Unsolved

This post is more than 5 years old

3 Posts

1313

July 29th, 2014 10:00

Notification on failed backups

I'm looking to improve the reporting I receive from my Networker server.  Right now I have to weed through a ton of "Savegroup Completion" emails to make sure that their were no failures in my backups.

* Is there a way to get a daily summary email of the backups that ran ?

* Can an email be triggered on the failure to backup a client ?

At one time I was only configured to receive email on "Savegroup Failure" alerts, but I found out that an individual client within a savegroup could fail and the Savegroup would still be considered 'complete' and I would not receive any notification of the failure.

Note:  Using Networker 8.1 with Management server running on Windows.

Thanks a lot.

6 Operator

 • 

14.4K Posts

 • 

56.2K Points

July 29th, 2014 12:00

I use reporting for two things:

a) if group has failed - then it sends email with failed client(s)

b) if group has reached situation where it can't be started as it is already running

This requires parsing some output, but it works fine. This is on Linux/UNIX, but I assume same can be done with PowerShell on Windows.

This however is not summary.  For summary, I use nsrjobd query to list failed savesets and report when and where it failed.  I rarely use that, but it helps sometimes to check what has failed and did it run since then when checking from CLI.

2.4K Posts

July 29th, 2014 12:00

One method could be to run a script in (daily) intervals which filters savegrp.log for 'failed' save sets.

3 Posts

July 29th, 2014 14:00

Could you share the scripts that you use ?

Thanks.

2.4K Posts

July 29th, 2014 14:00

For the method to check the savegrp.log file, one line is enough for the core function. Here is an example :

    findstr /I /C:"jul 29" pathname\nsr\logs\savegrp.log | findstr /I /C:"failed"

All the rest is cosmetic ...

6 Operator

 • 

14.4K Posts

 • 

56.2K Points

July 29th, 2014 15:00

I plan to publish them soon on blog, but which part interest you the most?

No Events found!

Top