UNSOLVED

japgar

updated

18 years ago

J

japgar

24 Posts

0

2658

March 24th, 2009 11:00

Savegroup completion status

Hi,

Is there a way to issue a command to get the completion status of a savegroup for a specific date? or group of dates?

For instance, can I issue a command that will show me the completion status for a particular savegroup from one month ago? I know I can use the nsradmin command with show completion and show name to get the most current savegroup status. Is there a way to use nsradmin with a specific date or range of dates?

Thanks,
Jim
  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    944

    0

    Posted March 24th, 2009 12:00

    No. nsradmin is looking at nsrdb where just recent group run details will be. You could use nsradmin against jobsdb, but that would be not probably what you would like. You can simply obtain this info from logs using simple grep.
  • jgwang

    19 Posts

    944

    0

    Posted March 24th, 2009 17:00

    Hi,
    There is no way to show the savegroup completion because the savegroup complete will log to a file or send it out vai email, depend on what the setting on your notification. of " Savegroup Complete". If you want to get the status of savegroup, maybe you should setting the notification of "Savegroup complete" to log to a file and then try to use perl of other program tool to retrive it. Or if you jst want to get the backup saveset status, just try mminfo command.
  • mcprazak

    19 Posts

    944

    0

    Posted March 27th, 2009 09:00

    Something like the following might work.

    mminfo -r
    "client,pool,volume,savetime,name,sumsize,ssid,copies,clflags,sumflags,level,ssflags" -q
    "!incomplete,copies<=1,client=clientname,savetime>=11/31/08,savetime<=2/05/09"
  • satishs

    50 Posts

    944

    0

    Posted March 27th, 2009 10:00

    Hi,

    Is there a way to issue a command to get the
    completion status of a savegroup for a specific
    date? or group of dates?

    For instance, can I issue a command that will show
    me the completion status for a particular savegroup
    from one month ago? I know I can use the nsradmin
    command with show completion and show name to get
    the most current savegroup status. Is there a way
    to use nsradmin with a specific date or range of
    dates?

    Thanks,
    Jim


    -------------------------

    As a earlier post noted, mminfo is the way to go. A minor tweak to the earlier post (mminfo)....note the "!incomplete" which basically means it completed successfully.

    mminfo -a -r "volume, client, savetime(22), ssid, name, ssflags, sumflags" -q "!incomplete,group=GROUPNAME,savetime>03/01/09, savetime<03/28/09"
  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    944

    0

    Posted March 27th, 2009 12:00

    I'm afraid that mminfo won't give you group completion status as originally asked. mminfo can only give you status about savesets if in mdb (have in mind that those savesets which have failed and were going to disk device won't seen by mminfo as such savesets are removed).
  • Hari5

    443 Posts

    944

    0

    Posted March 28th, 2009 06:00

    Using this kind of a query would mean you would have to get the status for all the savesets in the group and then probably have a script check if they are all successful.
  • cameron11

    28 Posts

    944

    0

    Posted March 29th, 2009 12:00

    Hi,

    The easiest way to generate historical reports is by using the NetWorker Management Console reports feature in the GUI.

    These reports, either canned or customized, can be run from the command line on the NetWorker Management Console server by using the "gstclreport" command.