@echo off
rem ------------------------------------------------------------------------
rem file name: archive.cmd
rem ------------------------------------------------------------------------
rem Sample BRArchive batch file
rem ------------------------------------------------------------------------
rem Task:
rem Invokes the SAP utility BRArchive in order to save ORACLE's archived
rem redo logs (using Data Protection for SAP (R) ) and deletes the redo
rem logs from their original location. After completing this, the BRArchive
rem protocol is saved separately.
rem ------------------------------------------------------------------------
rem ***** NOTE ***** NOTE ***** NOTE *****
rem
rem This script is intended only as a model and should be
rem carefully tailored to the needs of the specific site.
rem
rem ***** NOTE ***** NOTE ***** NOTE *****
rem ------------------------------------------------------------------------
rem
rem Remarks on the parameters of BRArchive:
rem
rem -u system/manager ORACLE username/password
rem -sd save and delete archived redo logs
rem -c run BRArchive in quiet mode
rem (-n number of redo logs to be saved,
rem default is 10000,
rem which means all available)
rem
rem The following should be configured within the SAP profile
rem initC21.sap:
rem
rem backup_dev_type = util_file
rem causes BRBACKUP to use the external program
rem Data Protection for SAP (R)
rem util_par_file = %ORACLE_HOME%\database\initC21.utl
rem Data Protection for SAP (R) profile
rem ------------------------------COMMAND-----------------------------------
brarchive -u system/manager -sd -c