Unsolved

This post is more than 5 years old

46 Posts

735

July 5th, 2006 08:00

report backup size for each client

Hello,

I want to report the total amount of data backupped by the server for each client.
I can report all the savesets for each client, but that's not handy.
I know there was a thread discussing this topic. But there was no answer.
Is this possible with mminfo ?

Thanks in advance,

Networker 7.1.3
Solaris 9

Carlo

46 Posts

July 5th, 2006 08:00

I have already looked in the Command Line Reference and man-pages, but I can't find someting about backup size per client.
I can report the size of all savesets :
mminfo -a -t "24 hours ago" -q "client=edginfra1_b" -r "client,totalsize"
But I don't want that.

6 Operator

 • 

14.4K Posts

 • 

56.2K Points

July 5th, 2006 08:00

Yes - mminfo is the answer. Check mminfo manual - it is quite straightforward thing to do.

6 Operator

 • 

14.4K Posts

 • 

56.2K Points

July 5th, 2006 09:00

Let's use logic and some math here: backup size per client = backup size per all savesets of that client. Is that correct?

46 Posts

July 6th, 2006 01:00

That's right. But if you have 150 clients, about 5 savesets for each client, the report is not human readable.
My question: Is it possible to display one result for each client with mminfo.
Are there tools who can do this ?

6 Operator

 • 

14.4K Posts

 • 

56.2K Points

July 6th, 2006 01:00

Not directly from mminfo, but you could easily script it with awk. Ask your fellow UNIX admin to give you hand - it's should few minutes job.

Another approach would be via NMC, but I tend to trust mminfo output more.

46 Posts

July 6th, 2006 03:00

I am the unix admin :) In the meanwhile I have written a script which counts all the totalsizes of the savesets. But there I have a problem with the lenght of the integer. But this is off-topic for this thread.
Thanks for all the input.

Carlo

6 Operator

 • 

14.4K Posts

 • 

56.2K Points

July 7th, 2006 04:00

If you compare that output to the one of totalsize discussed before you will notice a difference. I never really checked why is that as the output with totalsize was acceptable to me.

46 Posts

July 7th, 2006 04:00

I have found it. Just use the option -X with mminfo.
No Events found!

Top