cancel
Showing results for 
Search instead for 
Did you mean: 

Easy way to find out how much data I am backing up

NathanNieman
Level 6

Is there a easy way to see how much data my fulls, and my Diffs are backuping though out the week?

 

Thanks

4 REPLIES 4

Andy_Welburn
Level 6

You could probably use the client backups report via the GUI (***EDIT*** output can be exported to a file for further 'manipulation') or from the command line bpimagelist

e.g.

bpimagelist   -hoursago  168   -U  |  awk   '{kb+=$5}  END  {print kb}'

or maybe script it:

for i in `cat client_list` ; do
echo $i
bpimagelist -hoursago 360 -U -client $i |awk '{file+=$4} {kb+=$5} END {print file" " kb}'
echo "------------"
done

***EDIT***

If you need to differentiate Fulls from Diffs, try running the bpimagelist without "filtering" as schedule type is also included in the output

e.g.

# bpimagelist -hoursago 36 -U -client client
Backed Up         Expires       Files       KB  C  Sched Type   Policy
----------------  ---------- -------- --------  -  ------------ ------------
10/22/2010 08:00  11/22/2010       18 48919463  N  Full Backup  UNIX_policy
10/21/2010 18:30  11/21/2010       39  2297124  N  Differential UNIX_archive

Andy_Welburn
Level 6

Do you need any more assistance?

MOHAMED_PATEL
Level 5
Partner Accredited Certified

 Andy's script is great - maybe you want to add it to a cronjob so that it will mail you each morning or whenever you'd like...

As you did not mention the version of Netbackup, maybe you want to look at Veritas Backup reporter -

Request an eval key from your account manager and run it - you never know, management might just purchase a full license key -

Just a thought....

Zahid_Haseeb
Moderator
Moderator
Partner    VIP    Accredited

i am not getting what are you trying to say