cancel
Showing results for 
Search instead for 
Did you mean: 

sap online backup finished but did not delete archive logs file

headbig
Level 4
Partner Accredited Certified

I had sap with oracle database installed on aix 6.1. and I used nbu 7.0.1 sap agent to backup my sap data.
But after my job finished, i found that log files in /oracle/DEV/oraarch had not deleted.It was very big. each day had three to four files name with DEVarch1_******.dbf.

In sap_online_backup script file,there was a line like the following:
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 -c -d util_file -sd > $br_out_file"
Why my online backup finished, the archive log have not deleted?
2 REPLIES 2

Nicolai
Moderator
Moderator
Partner    VIP   

Depending on the database activity, archive files are created around the clock. Can it be the archive files are created after the online backup + archive ?

You can check /oracle/<sid>/saparchive/arch<SID>.log to see what files have been backuped.

headbig
Level 4
Partner Accredited Certified

It's solved. When the online backup is finished,the archive log will be backuped and deleted.