UNSOLVED

Vaibhao_6d6cd9

updated

16 years ago

0

702

January 11th, 2011 23:00

command to chk size for running savesets

Hello,

I wanted to know the command on networker CLI to check the "Completion Size" of all running savesets.

(Networker version - 7.6)

thanks,

Vaibhao

  • antoineschokker

    1 Rookie

    •

    70 Posts

    259

    0

    Posted January 12th, 2011 00:00

    Vaibhao,

    Use mminfo with its parameters like "totalsize". Like mminfo -av -r "ssid, totalsize"

    Antoine

  • David_Hampson_90e289

    2 Intern

    •

    243 Posts

    259

    0

    Posted January 12th, 2011 02:00

    If the saveset is still running there will not be a completion size (the total size field is recorded as 0 until the backup completes) and not all data will be stored in the media database until completion.

    You cand find the running savesets by running the command:

         mminfo -q incomplete -r client,name,savetime,ssflags|grep viI

    You could then use the output to grep the logs to find the last recorded status of those savesets.

  • coganb

    736 Posts

    259

    0

    Posted January 12th, 2011 02:00

    Hi,

    This should give the information you want:

    printf "show session;session statistics;session device name\nprint" | nsradmin -i - | tr -s "\n" > session_stats

    In the 'session_stats' output file, for each session (which starts with id =) you will have the 'amount kb' which corresponds to the size of the running savesets.

    Have a look at these knowledgebase articles for more information on using nsradmin:

    How to run nsradmin in one line

    Use nsradmin to edit, change, update networker resource

    -Bobby