Start a Conversation

Unsolved

This post is more than 5 years old

K

13636

November 24th, 2015 02:00

Networker : Schedule Daily Backup status report

Hi Team,

We need a daily report for last 24 hours on the backup status for all the clients.

Could you please help me on this.

 

Networker server OS:  Windows Server 2008 R2 Standard

Networker version :      8.2.1.0

2 Intern

 • 

14.3K Posts

November 24th, 2015 04:00

You can use NMC, you can use nsrsgrpcomp, or you can use some custom script - up to you.

November 24th, 2015 05:00

Thank you Crvelin,

Could you please share any script to generate a daily report for the last 24 hrs backup status.

2.4K Posts

November 24th, 2015 14:00

What do you really want?

- A save set report can be easily created by running the appropriate mminfo command:

     mminfo -q "savetime=>-1days" -r "client,name,savetime ......." -oc 

   

- An activity report would result in extracting the appropriate information from the jobs db/savegroup log files.

   Such requires additional effort which is not easy at all. Let me recommend that you check BackupEagle for this purpose:

   Schmitz RZ Consult

   We have made very good experiences with this product.

November 25th, 2015 01:00

Hi Bingo

Thankyou for the suggestion.

But is there any free tool from EMC Networker to schedule the daily alerts for the backup status and recovery.

November 25th, 2015 05:00

Hi Crvelin,

Just we need the below info on daily basis for last 24 hours.Please help

Client name

Group name 

Schedule  

Starttime       

Endtime        

BackupStatus 

2 Intern

 • 

14.3K Posts

November 25th, 2015 05:00

kotamsetty wrote:

Thank you Crvelin,

Could you please share any script to generate a daily report for the last 24 hrs backup status.

Nope, you will need to do that as you (or your client) has such need.  But you need to ask yourself what exactly do you need?  You say clients, but is it success of backup only or additional data?  If additional data, what exactly?  Most of the data you can get from mminfo, but media database might not include data for failed backups which went to disk or failed at savefs level for example.  This basic monitoring can also be handled by NMC.  You need to define exactly what you need and from there it is easy.  If you want data from job db, you can run nsrsgrpcomp -c

2.4K Posts

November 25th, 2015 07:00

This is not something which is easy to achieve. The reason is simple: You need to query different databases for that purpose:

This is info from the resource db:

  Client name    

  Group name 

  Schedule

However, the info about  

  Client name    

  Group name 

  Starttime       

  Endtime        

  BackupStatus 

is/can only be obtained from the jobs db.

Sorry but I am pretty sure that nobody will provide you a script for free.

However, the general roadmap would be:

  - prepare a list of all clients (would be dynamic)

  - use nsradmin to prepare the first part (for each client) - only if you really need the schedule

  - use jobquery to get the second part 

    (since you work with NW 8.2.1 you might succeed running an appropriate SQL command.

  - prepare/sort the output

December 3rd, 2015 08:00

Approach 1: Write your own script -

Create a small Batch/Perl script to capture the output of below command -

mminfo -q"sscreate>=24 hours ago" -r"client,name,group,sscreate(23),sscomp(23),ssretent,ssflags,level,totalsize"

This will give you the out put of last 24 hours backup details with all the details that normally a backup report should have-

client name group ss created ss completed retent ssflags lvl total
client1 C:\ group1 12/03/2015 05:00 12/03/2015 05:04 02/03/2016 vF incr 1106026960
client1 D:\ group1 12/03/2015 05:00 12/03/2015 05:04 02/03/2016 vF incr 442600484
client2 C:\ group1 12/03/2015 16:31 12/03/2015 16:34 12/17/15 vF incr 955556100
client2 D:\ group1 12/03/2015 16:31 12/03/2015 16:33 12/17/15 vF incr 808725256
Client3 DISASTER_RECOVERY:\ group1 12/03/2015 16:35 12/03/2015 16:35 12/17/15 vF incr 14988
Client3 C:\ group2 12/03/2015 16:31 12/03/2015 16:35 12/17/15 vF incr 923887252
Client3 D:\ group2 12/03/2015 16:31 12/03/2015 16:33 12/17/15 vF incr 790487540
Client3 E:\ group2 12/03/2015 16:35 12/03/2015 16:35 12/17/15 vF incr 14992

Note: SSFlags is for save set status , completed/incompleted, browsable, recyclable etc

Review this output and edit as per your choice (for example : Removing the save set for Index and bootstrap backup, exclude archive backup or some special group client. ) and after that you can format also this output as per your choice (ex: .csv file, html format ) and can keep that in a centralize location or send an email as attachment. Just put the overview statistic also in your report - Total no of saveset, % of success rate, Total size, Client wise backup size, backup timing window etc

Just schedule this script from your windows task scheduler for daily report.

Approach 2: Use of DPA -


Using the EMC DPA tool you can use generate your customize backup report for the Networker backup. It not only include the daily backup report but also so many other backup related report which is useful for backup administration. DPA is not only used for Networker monitoring but also some other features also. Its very user friendly tool and also having all kind of easy reporting features.
More info -

2.4K Posts

December 3rd, 2015 12:00

@ kotamsetty

Honestly, I do not know any free tool except "NetWorker Reporter" EMC Legato NetWorker and IBM Storwize Reporting Utilities.

We have tried to use DPA some years ago, especially to monitor the true size of Avamar backups. But we found it is pretty complicated to deal with, especially if you want to produce a report which is not provided with the product. Besides that, we did not test it any further.

Also - do not forget that in your list

  Client name

  Group name 

  Schedule  

  Starttime       

  Endtime        

  BackupStatus 

you miss an important detail - this list of not started groups because they are still running. The risk is high to have some, especially for backup groups with a (very) small interval.

December 6th, 2015 23:00

@shubhadip_datta

Thanks a lot for your time, i will try and update you the status.

August 28th, 2017 03:00

Thanks Bingo ,

could you please help me on this below part -

(since you work with NW 8.2.1 you might succeed running an appropriate SQL command : How can we run sql query on jobdb

Regards,

Shubhadip Datta

No Events found!

Top