netbackup batch file creation
Hi guys,
In our daily health check,we need to check the partials in the environment with shadow component failure/system state and SQL backup partial failure and we need to run those.
We use report section of the GUI.Report-problem then filter by:
For system state/Shadow copy components:
ERR - failure reading file: System State:
WRN - can't open object: System State:
WRN - can't open object: Shadow Copy Components:
For SQL:
bphdb exit status = 1:
Can please anybody provide me the windows batch script for this so that we can run that on daily basis and check.
NBU 7.6
Win 2008 server.
Well that is really a Windows question, not NetBackup. Something like this, I guess:
<NBUPATH>\bperror -problems | findstr /c: "System State"
<NBUPATH>\bperror -problems | findstr /c: "Shadow Copy"
<NBUPATH>\bperror -problems | findstr /c: "bphdb exit status =1"