09-28-2009 06:29 AM
I use NetBackup Master server on Windows 64 bit v6.5.4 and SAP agent as v6.5.4 on AIX server.
On brtools said completd successful and I check logs on SAP GUI it completd too.
But my NetBakcup admin console said fail with status 6.
------------------------------------------------------------------------------------------------------------------------------------
On details job:
8-Sep-09 17:24:02 - requesting resource Daily-Monday
28-Sep-09 17:24:02 - requesting resource sfsitsv04.NBU_CLIENT.MAXJOBS.sfsdev
28-Sep-09 17:24:02 - requesting resource sfsitsv04.NBU_POLICY.MAXJOBS.sap_backup
28-Sep-09 17:24:03 - granted resource sfsitsv04.NBU_CLIENT.MAXJOBS.sfsdev
28-Sep-09 17:24:03 - granted resource sfsitsv04.NBU_POLICY.MAXJOBS.sap_backup
28-Sep-09 17:24:03 - granted resource Daily-Monday
28-Sep-09 17:24:03 - estimated 0 kbytes needed
28-Sep-09 17:24:03 - started process bpbrm (7060)
28-Sep-09 17:24:04 - connecting
28-Sep-09 17:24:05 - connected; connect time: 00:00:01
28-Sep-09 17:59:18 - end writing
the backup failed to back up the requested files(6)
------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------
On backint log job on SAP server (NetBackup client):
18:07:37.072 [708624] <2> get_bids: File names did not match!
18:07:37.072 [708624] <2> get_bids:
18:07:37.072 [708624] <2> get_bids: File names did not match!
18:07:37.072 [708624] <2> get_bids:
18:07:37.072 [708624] <2> get_bids: File names did not match!
18:07:37.072 [708624] <2> get_bids:
18:07:37.072 [708624] <2> get_bids: File names did not match!
18:07:37.072 [708624] <2> get_bids:
18:07:37.072 [708624] <2> get_bids: File names did not match!
18:07:37.072 [708624] <2> get_bids:
18:07:37.072 [708624] <2> get_bids: File names did not match!
18:07:37.072 [708624] <2> get_bids:
18:07:37.072 [708624] <2> get_bids: File names did not match!
18:07:37.072 [708624] <2> get_bids:
18:07:37.072 [708624] <2> get_bids: File names did not match!
18:07:37.072 [708624] <2> get_bids:
18:07:37.072 [708624] <2> get_bids: File names did not match!
18:07:37.073 [708624] <2> get_bids:
18:07:37.073 [708624] <2> get_bids: File names did not match!
18:07:37.073 [708624] <2> get_bids:
18:07:37.073 [708624] <2> get_bids: File names did not match!
18:07:37.073 [708624] <2> get_bids:
18:07:37.073 [708624] <2> get_bids: File names did not match!
18:07:37.073 [708624] <2> get_bids:
18:07:37.073 [708624] <2> get_bids: File names did not match!
18:07:37.073 [708624] <2> get_bids:
18:07:37.073 [708624] <2> get_bids: File names did not match!
18:07:37.073 [708624] <2> get_bids:
18:07:37.073 [708624] <2> get_bids: File names did not match!
18:07:37.073 [708624] <2> get_bids:
18:07:37.073 [708624] <2> get_bids: File names did not match!
18:07:37.073 [708624] <2> get_bids:
18:07:37.073 [708624] <2> get_bids: File names did not match!
18:07:37.073 [708624] <2> get_bids:
18:07:37.073 [708624] <2> get_bids: File names did not match!
18:07:37.073 [708624] <2> get_bids:
18:07:37.073 [708624] <2> get_bids: File names did not match!
18:07:37.073 [708624] <2> get_bids:
18:07:37.073 [708624] <2> get_bids: File names did not match!
18:07:37.073 [708624] <2> get_bids:
18:07:37.073 [708624] <4> report_bids: Entering.
18:07:37.074 [708624] <4> report_bids: #SAVED VXF1254136092 /oracle/DEV/102_64/d
bs/initDEV.ora
18:07:37.074 [708624] <4> report_bids: #SAVED VXF1254136092 /oracle/DEV/102_64/d
bs/spfileDEV.ora
18:07:37.074 [708624] <4> report_bids: #SAVED VXF1254136092 /oracle/DEV/102_64/d
bs/initDEVarch.sap
18:07:37.074 [708624] <4> report_bids: #SAVED VXF1254136092 /oracle/DEV/102_64/d
bs/initDEVarch.utl
18:07:37.074 [708624] <4> report_bids: #SAVED VXF1254136092 /oracle/DEV/sapreorg
/spaceDEV.log
18:07:37.074 [708624] <4> report_bids: #SAVED VXF1254136092 /oracle/DEV/sapreorg
/strucDEV.log
18:07:37.074 [708624] <4> report_bids: #SAVED VXF1254136092 /oracle/DEV/saparch/
aebolath.svd
18:07:37.074 [708624] <4> report_bids: #SAVED VXF1254136092 /oracle/DEV/saparch/
archDEV.log
18:07:37.074 [708624] <4> /usr/sap/DEV/SYS/exe/run/backint 6.5: ****************
****************************************************************
------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------
On brtools log said:
BR0280I BRBACKUP time stamp: 2009-09-28 17.56.54
BR0232I 8 of 8 files saved by backup utility
BR0230I Backup utility called successfully
BR0056I End of database backup: bebokwxg.anf 2009-09-28 17.56.54
BR0280I BRBACKUP time stamp: 2009-09-28 17.56.54
BR0052I BRBACKUP completed successfully
------------------------------------------------------------------------------------------------------------------------------------
Anyone can help me? Please
09-28-2009 08:45 AM
09-28-2009 07:56 PM
10-01-2009 07:53 PM
I view my script and tracking to this step:
---------------------------------------------------------------------------------------------------------------------------------------------------
if [ $RETURN_STATUS -eq 0 ]
then
timeStamp=`date '+%m%d%y%H%M%S'` ;
br_out_file="/tmp/brarchive_out.${timeStamp}" ;
CMD_LINE="$SAP_ENV brarchive -u / -p /oracle/DEV/102_64/dbs/initDEVarch.sap -save_delete -d util_file -r /oracle/DEV/102_64/dbs/initDEVarch.utl -k no -l E > $br_out_file"
echo "Execute $CMD_LINE"
su - devadm -c "$CMD_LINE"
RETURN_STATUS=$?
if [ $RETURN_STATUS = 1 ]; then
su - devadm -c "grep 'BR0*13W' $br_out_file > /dev/null"
if [ $? = 0 ]; then
RETURN_STATUS=0
fi
fi
su - devadm -c "cat $br_out_file;rm $br_out_file"
fi
exit $RETURN_STATUS
---------------------------------------------------------------------------------------------------------------------------------------------------
after this line:
echo "Execute $CMD_LINE"
su - devadm -c "$CMD_LINE"
I got RETURN_STATUS not equal 0
Why not?
I have copy this code:
brarchive -u / -p /oracle/DEV/102_64/dbs/initDEVarch.sap -save_delete -d util_file -r /oracle/DEV/102_64/dbs/initDEVarch.utl -k no -l E
and run on SAP server, it's OK.
and finally I restore everything ok.
Please help me.
10-07-2009 07:26 AM