07-24-2013 01:27 PM
Dear All,
I need all types of error which occurs when netbackup skip files at the time of backup
the reason behind it is I am , creating script which will retrieve data from /usr/openv/netbackup/db/error/log* files
below are the some generic error which i used to found in 6.5.0.4
WRN - can't lock raw device for read
WRN - Could not reset access time
WRN - can't open file:
WRN - Skipping linked directory
WRN - Removable Storage
WRN - Removable Storage
Above are not enough & not including all i cant keep adding & analyzing new skipped file patterns can any one share any TN or link / document
Since this is customer requirement i dont want to miss out anything.I am aware of the notification mail which can be generated by server or client on each failure / success/ partial/ restore etc but I dont prefer that much notifications so please assist
Environment information - OS master - Solaris
NBU version - 7.5.0.4
media servers / client - all types
Thanks
Solved! Go to Solution.
07-24-2013 03:04 PM
07-24-2013 01:38 PM
There is a report you can run from within the admin console : errors / problems report that would show you all of this in one spot. There is also OpsCenter
07-24-2013 01:47 PM
07-24-2013 02:16 PM
We dont have OpsCenter in this enviornment it seems to be like that i need to keep it all manual.
basically everything start with
2 ERR -
3 WRN -
192 TRV -
I wonderd if any generic list any one have thanks for the reply
07-24-2013 03:04 PM
07-24-2013 03:05 PM
08-01-2013 12:24 AM
Yes I do agree with You
08-01-2013 01:04 AM
Seeing that you agree with Martin, please mark his post as Solution.
08-17-2013 10:14 PM
Hi
Here is small script i created as per customer requirment . in which user can put job ID & get the skipped information
since there is application monitoring teams which is not familiar with netbackup console
INPUTDIR="/usr/openv/netbackup/db/error"
INPUT_FILE=`ls -1tr $INPUTDIR/log* | tail -2 | head -1`
echo "Enter Job ID"
read JID
hostname=`cat /usr/openv/netbackup/db/jobs/trylogs/$JID.t | grep -i "(jobid=$JID)" | awk '{print $12}' | cut -f1 -d","`
cat $INPUT_FILE |grep -i $hostname | egrep -i 'ERR - Read error at byte|ERR - Cannot open file|ERR - failure reading file|TRV -|ERR -|WRN -'| egrep -v 'TRV - BACKUP|TRV - last message being suppressed after 10 occurrences' | awk '{print $13,"\t\t",$14,$15,$16,$17,$18,$19,$20,$21,$22,$23,$24,$25,$26,$27,$28,$29,$30,$31,$32,$33,$34,$35,$36,$37,$38,$39,$40,$41,$42,$43,$44,$45}'