Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scripting

Status
Not open for further replies.

warlock0199

IS-IT--Management
Jun 18, 2003
29
ZA
Good day everyone>>>

Is there a script that will tell you witch groups failed during the last backup cycle?

My management wants this for a report!

Thanks everyone!!!
 
If I should have to do it I would do it via nsradmin.

There's a "completion" field that can be queried and "grepped" to extract the good information.

Then you just have to query all group names, then all groups completion.
 
I'm sorry... but I'm very new at this. How do I "grepped" to extract the good information?

 
grep is the unix command to find a pattern.
On Windoze, use the find command (but you have to put the field in quotes, e.g. nsradmin -i parameterfile | find "failed"
with :
show completion
print type: NSR group;

in your parameter file
 
NetWorker creates a notification report call Savegroup Completion Report, the word Failed with a cap "F' is only used to indicated failed savegroups in this report. You can search for the "Failed" in the reports and work from there. I suggest sending a copy of the save group completion reports to you e-mail id and then set filters to keep reports with the word "Failed" in them and to trash the successfull savegrps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top