Now I have a situation, where as in I am collecting data of a client for a respective policy, my logic captures data for a single date, so the challenge is, "If a backup spans more than 1 day, How do i capture relavant bpimagelist infos". I thought of finding all jobs which has common parent job id, for that I need to find out which one is the parent job, which again is relavant as long as it is in activity monitor.
So I am open to suggestions.
My Goal is to capture a client's (respective policy), full and incremental date and size.
Solved! Go to Solution.
I'm not sure what you want to achieve. Personally the clients where I do some devops with python and or php. I typically just use opsCenter. There a "tabular backup report". Intressting columns are Job Directory, Parent Job ID, Job ID, Size, and just about everything else you mentioned. I would suggest you rather get the information from opscenter. Much safer. I've had it where master Servers lockup if you do too many native command line scripts against it. Having opsCenter is much safer. I believe there is also a snmp mib for opscenter.
I agree Opscenter is safest, However what I am trying to achieve has no consolidated report from opscenter, Moreover the opscenter has data collection issues, so it works intermittently so can't rely on it for now. When you say devops on clients you create reports or such from the data provided by opscenter?
Constantly. We even use it for auditors.
I have one client that has 12 sites in remote locations, and 5 Head Office locations. We have up to 18 Netbackup servers all reporting to 1 OpsCenter. That sends a "tabular" backup report. We then run this through some dashboard program that:
There's lots that you can do. But I dont know what you want to do, in order to give guidance. Not sure what you mean with intermittantly, NBSL is quite good at keeping opscenter updated with what's going on in Netbackup. Just have a look at the active jobs in ops center vs the Netbackup gui.
Great, you seem to be using opscenter quite extensively. So when you get the raw .csv report what language are you using to further process it? Python?
I am going through Python to implement few stuffs, So would appreciate some suggestions. Also what did you mean when you said "automated Restore of Transactional data". Could you please elaborate a bit.
I am looking for the parent job id so i can co relate child jobs with parent job for some coding I am doing.
For simplicity sake just stick with the date as the cutoff period. Since auditors are usually from an accounting background they'll agree most readily with this approach as this is what they do with financial systems and data as well.
I am looking for a command which maps parent id with child id. For example if parent id is let say 1001, then all it's child jobs will have it's parent job id as 1001, I am looking for something which i can use to map parent with child job id, as I can't stick to a date as a backup job can traverse days.