11-10-2011 07:28 AM
Which of the below field in bpdbjobs commands output will show the backup job failure code like 13,24,25 etc ?
" jobid,jobtype,state,status,class,schedule,client,server,started,elapsed,ended,stunit,try
on,kbytes,files,pathlastwritten,percent,jobpid,owner,subtype,classtype,schedule_type,priority
asterserver,retentionunits,retentionperiod,compression,kbyteslastwritten,fileslastwritten,fil
nt,[files]...,trycount,[trypid,trystunit,tryserver,trystarted,tryelapsed,tryended,trystatus,t
description,trystatuscount,[trystatuslines]...,trybyteswritten,tryfileswritten]... "
Are we have to only rely on bperror command to get the backup job failure code ?
Exploring, if bpdbjobs command itself is already having this detail hidden in one of its 50+ fields output
Solved! Go to Solution.
11-10-2011 07:58 AM
as bperror shows it as status code - I would think status.
I had one that failed last night so I did the command
58 was my status/error code so it looks like field 4=status
bpdbjobs -all_columns -jobid 2075613
2075613,0,3,58,mypolicy,-,myclient.mydomain.com,mymediaserver,1320731081,0000004141,1320735222,mymediaserver-hcart-robot-tld-
11-10-2011 07:58 AM
as bperror shows it as status code - I would think status.
I had one that failed last night so I did the command
58 was my status/error code so it looks like field 4=status
bpdbjobs -all_columns -jobid 2075613
2075613,0,3,58,mypolicy,-,myclient.mydomain.com,mymediaserver,1320731081,0000004141,1320735222,mymediaserver-hcart-robot-tld-
11-10-2011 08:00 AM
DOCUMENTATION: In NetBackup 6.x and 7.x, what does the output of "bpdbjobs -most_columns" mean?
http://www.symantec.com/business/support/index?page=content&id=TECH65123
***EDIT***
Touché!
11-10-2011 08:22 AM
Andy,
Thanks for this link, I had already gone thru it, but it done descriptive enough to conclude, it's the displays the error of job failure status.
11-10-2011 08:25 AM
Hi Hinchliffe,
Thanks for sharing the observation.
11-10-2011 08:27 AM
put it there just in case & to fill a little space!
As confirmed by Judy & myself field 4 is the one to give you the status code of the job, beit 0, 1, 58 or 150 etc - was that all you needed clarifying?
11-10-2011 08:31 AM
Yes Andy.
Thanks Andy & Judy for sharing the information.
Your support is much appreciated
11-10-2011 08:34 AM
Have marked Judys post as solution (you'd marked your own inadvertantly!)
11-10-2011 08:34 AM
Thanks Andy & Judy for the Support