Veritas-bu

Re: [Veritas-bu] Command to pull information

2009-10-28 10:17:13
Subject: Re: [Veritas-bu] Command to pull information
From: Heathe Kyle Yeakley <hkyeakley AT gmail DOT com>
To: Todd Jackxon <netbackup.info AT gmail DOT com>
Date: Wed, 28 Oct 2009 09:14:38 -0500
I recently had to crunch some numbers for upper management for similar reasons. Here's how I did it. (This will mainly answer your volume question.)

Tabulate how much data you backed up across all policies in September.

bpimagelist -U -d 09/01/2009 00:00:00 -e 09/30/2009 23:59:59 | awk '{ total += $5 } END { print total }'

Field 5 in bpimagelist output is the size in Kb of a particular entries backup. If you wanted to tabulate the volume of a specific policy:

bpimagelist -U -policy <policy name> | awk '{ total += $5 } END { print total }'

You can do the same thing for a particular client:

bpimagelist -U -client <client name> | awk '{ total += $5 } END { print total }'

And you can use the date parameters from the first example to print the volume of a particular client or policy within a certain time frame.

Example: Total amount, in kilobytes, for client foo during entire month of September:

bpimagelist -U -client foo -d 09/01/2009 00:00:00 -e 09/30/2009 23:59:59 | awk '{ total += $5 } END { print total }'

Example: Total amount, in kilobytes, for policy bar during entire month of September:

bpimagelist -U -policy bar -d 09/01/2009 00:00:00 -e 09/30/2009 23:59:59 | awk '{ total += $5 } END { print total }'

To get a list of all your clients:

bpplclients -allunique

To get a list of all your policies:

bppllist

Hope this helps. If anyone has a better way, I'm always up for learning new techniques.

Thanks.

- Heathe Kyle Yeakley

On 10/28/2009 08:08 AM, Todd Jackxon wrote:
Hello All,
 
We are moving some clients to a new library and the business would like to evaluate
who they would like moved. Does anyone have a recommendation of a command that will pull
 
Application/system is being backed up
Volume of data.
The policy
 
I know how to get this information different ways but trying to save myself some time.
Does anyone have a suggestion to make this quick and easy?
 
Thanks
TJ

_______________________________________________ Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
<Prev in Thread] Current Thread [Next in Thread>