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!

Help with total amount data monthly 1

Status
Not open for further replies.

mikrei

IS-IT--Management
Jul 5, 2001
13
SE
Hello fellow Networkers,

I´ve tried to dig through manuals etc, so my last resort is you guys and girls.

We use Networker 6.1.1 on a W2K server.

Is there a possibility through the commandline to retrieve total backed up data (incr+full) monthly?

Example: i would like to have the total data amount for Januari?

regards
 
See thread480-774331
The same command works (mminfo) but with double quotes from the command-line.
For the full month, try
mminfo -av -t "last month" -r "savetime, totalsize"
run at the end of the month. you then need to check it and sum the totalsize column.
 
I forgot to say, there are variants of awk you can use.
 
Thanks!!

It worked great!

just a dummy question, is the results in bytes or megabytes?

regards,

Mikael
 
Hi again,

Is it possible to set an begindate and an enddate in the mminfo command?

// Mikael
 
Mikrei,

yes, you can use mminfo to search for entries between two timestamps. The general
usage is like this:

mminfo -q &quot;savetime>=begin_time,savetime<=end_time, ...&quot;
-r &quot;report_paramater_list&quot;

 
Hello 605,

I tried your example but it didn´t work.
I don´t know if i´m doing some wrong here......

could you please specify the example again but put in the dates from January 1 to January 15.


Regards,

Mikael
 
Try

mminfo -av -q &quot;savetime >= 1/1/2004&quot; -q &quot;savetime <= 1/15/2004&quot; -r &quot;savetime, totalsize&quot;

 
Weee!

Thanks TDun, it worked like a charm!!!.

Thanks everybody who helped me.

Regards, Mikael
 
Just to complete the info...
C:\>mminfo -q &quot;savetime>=11/14/02, savetime<=11/15/02&quot; -r &quot;savetime,ssid,sumflags,level,name&quot;

works as well.

Be careful - NW queries from left to right. As a consequence, switching
the positions for the savetime queries will show a different result.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top