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!

Total GB Saved? By Week? By Month? By Group? Help!?

Status
Not open for further replies.

UnixSkunk

IS-IT--Management
Oct 16, 2002
86
US
Hi too all you gurus out there!
My boss has asked me to determine the total # of space our backups use each month/week. Does anyone out there have a command they use for this each month? I think savegrp -n works, but I was curious if anyone has a good command they use often/recommend. I'm currently reading through the man pages for this, but I would appreciate any explanations/commands folks might be able to provide! Thanks again!

UnixSkunk - Tux's Evil Nemesis
 
hi,

We take the savegroup completion messages each day and use a perl script to load them into our Oracle database. We can look at each system by month or day of how much data was backed up.

 
Hi,
All the information is in messages file.
There is one line for each savesets that networker copy.
You can see in this file:
date server saveset_name level total_saved Time number_of_files

select the lines for the month, day, server, etc that you like an sum them.
Now, you need the old messages files

 
This can be done to the byte! and it is not difficult at
all - just use mminfo to report the amount of each save set:

mminfo -v -t "one month ago" -r "totalsize" > file

Then import the file to a worksheet or write a little program that adds the values.


Of course you can do the analog command for a week. There
are many options to specify the date in NW, please see the
manual page for nsr_getdate.

However, except for the savegroup completion report, there
is no post-backup db query as the save sets are not tight
to a group.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top