Data Backup and Recovery

Reporting in SnapCreator, how to pull data from Snapcreator

bjarne
2,305 Views

Hi

I'm looking for a solution to pull data from SnapCreator for documenting scheduled jobs in SnapCreator. The included reporting capabilities does not include historic.

Does anyone already have a solution for this or know of tools that can do this job? 

Thanks in advance

Bjarne Madsen

Systems Engineer

Mail:bjarne@netapp.com

1 REPLY 1

spinks
2,305 Views

Bjarne,

Snap Creator does not currently have this as a feature, but it is possible to do this.

The action —schedlist option in the Snap Creator CLI will output a list of the scheduled jobs and the status.

So you could run this command to output the results of the schedule to a file:

./snapcreator --<user> --passwd <password> --action schedList > <filename>


This file can then be emailed using the customer's email program and settings.  For example:

mail -s 'Subject Here' email@address < input.file

This will email the contents of the file into the body of an email

Here is an example of the output:

########## NetApp Snap Creator Framework 4.1.0 Scheduler ##########

### Id ###            ### Name ###      ### Active ###       ### Profile ###               ### Config ###        ### Policy ###    ### Action ###     ### Frequency ###     ### Last Run ###        ### Last Run Time ###

411                            Lyon                       true                        Domino                          Lyon_SV               daily                          backup                   hourly                        successful             2014-05-21T08:57:10.240-04:00

414                            Tampico                 true                        YourCo_Domino            Tampico_SV         daily                          backup                   hourly                        successful             2014-05-21T09:03:25.684-04:00

416                            Nantes                  false                       Domino                           Nantes                  daily                         backup                   hourly                        failed                      2014-05-21T08:58:19.023-04:00

422                            noplugin                false                       Domino                           noplugin                daily                         backup                   hourly                        successful             2014-05-21T09:00:17.228-04:00

We are planning for a more full featured reporting mechanism in a future version.

I hope this helps!

John


Public