Video Screencast Help

Script that list the amount of backup of some period. per policy

Created: 30 Oct 2009 | 6 comments
Claudio Veronezi's picture
+1 1 Vote
Login to vote

Thanks for MR green

here is a script that returns a result like these

./relatorio_policy.sh  24

<policy_name>     <amount_backed_up_data_for_last_24_hours>

ALL POLICES

at the end the tolal amount of data.

that only runs over Linux/Unix/Solaris

Download Filed Under:

Comments 6 CommentsJump to latest comment

Claudio Veronezi's picture

usefull if U want to know  the amount of data backed up per policy

Claudio Veronezi Mendes
IT Manager at Lb2 Consultoria
Londrina - Pr - Brazil
 

0
Login to vote
jcgaustin's picture

This looks great.  Do you also have one or is there a line to change that will show all clients or all policies to get a total amount for the last full of everything?

Thanks

0
Login to vote
jluis's picture

this is the kind of things your boss ask you at 8:00am and it's waiting breathing down your neck...

very useful.

0
Login to vote
Claudio Veronezi's picture
$BPPATH/bpimagelist -A -L -policy $politica -hoursago $HOURSAGO 2>/dev/null | grep "^Kilobytes" |

Just change this line and will change the results.

try the bpimagelist --help to see what U'll need

I'll make another one with some options,

I had posted one about the Elapsed time, I used a lot to tune my backup window

Claudio Veronezi Mendes
IT Manager at Lb2 Consultoria
Londrina - Pr - Brazil
 

0
Login to vote
Claudio Veronezi's picture

I have sent another downloads,

there is 2 more, one that list the total amout of ALL policy,

there is one that I really like but I don't know if it helps

there is one that list the Average time that all policies stays w/ Active status, and how many times each policy runs  in a period of time.

I don't work w/ netbackup everyday anymore, unfortunately, I have no where to test

Claudio Veronezi Mendes
IT Manager at Lb2 Consultoria
Londrina - Pr - Brazil
 

0
Login to vote