Vault Reporting
Hi Techiz,
I am trying to look for an automated vaulting report for a month. Means how many and what all medias were ejected for an entire month. I tried looking into opscenter, there is only one report for vault which just tells the count. Then I looked into Opscenter tables, I could only find tables like nom_NBJob and nom_NBVolume which could give me few information.
I am looking for a report for a month containing columns Date on which offsiting was done(can be found in nom_NBVolume), number of tapes vaulted, mediaid of the tapes vaulted, expiration date of the media(domain_Media), mediaid of medias which are expired on that date as per vault.
Thanks
Sid
Hi Sid
Try this (change the dates as required). [Keep in mind I don't have vault configured so I"m guessing what the result would be :) ]
select nom_nbvolume.mediaid as "Media ID", UTCBigIntToNomTime(nom_nbvolume.DateVaulted) as "Vaulted Date", UTCBigIntToNomTime(nom_nbvolume.ExpirationDate) as "Expiration Date", UTCBigIntToNomTime(nom_nbvolume.ReturnDate) as "Return Date"
from nom_nbvolume
where UTCBigIntToNomTime(nom_nbvolume.DateVaulted) between 'Feb 12, 2015 12:00:00 AM' and 'Feb 13, 2015 12:00:00 AM'