cancel
Showing results for 
Search instead for 
Did you mean: 

Vaulting statistics

fparki
Level 3

Is there a quick and dirty method to calculate how much data has not been vaulted from VTL to tape and the age range of that data?

Running NetBackup 7.1.

Thanks,

2 REPLIES 2

mph999
Level 6
Employee Accredited

 

I suspect 300 people will be along with 300 different ways to do this.
 
This is how I would do it ...
 
For a given vault job you know the session id.
 
In here :
 
/usr/openv/netbackup/vault/sessions/<vault_name>/sidxxx/logs
 
You have the detail.log and duped images log.
 
From either of these two, you can get the list of images.
 
From this command (an example here )
 
bpimagelist -backupid womble_1340263776 -U
 
You get ...
 
Backed Up         Expires       Files       KB  C  Sched Type   On Hold Index Status Policy
----------------  ---------- -------- --------  -  ------------ ------- ------------ ------------
06/21/2012 08:29  06/28/2012      113      128  N  User Backup  0       0            womble_basic_disk
 
 
So we get the size of image ...
 
Then, add them up ...
 
Martin

 

watsons
Level 6

Are you after the images that don't get vaulted ONLY?

Well.. assuming your selection list is correct, if you enable the report of "non-vaulted images", you should get a file at the end of session called non_vaulted.rpt.

If you can do scripting, run a program through that report, for each images found, run a bpimagelist just like what Martin mentioned, add them up and you will have the number.