@echo off
rem Full Offline Backup batch file:
rem ------------------------------------------------------------------------
rem file name: backup.cmd
rem ------------------------------------------------------------------------
rem Sample BRBACKUP batch file
rem ------------------------------------------------------------------------
rem Task:
rem Invokes the SAP utility BRBACKUP in order to perform a full offline
rem backup of all tablespaces using Data Protection for SAP (R)
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 For the following examples, the system ID of the ORACLE database
rem is assumed to be "C21".
rem
rem ------------------------------------------------------------------------
rem
rem First, let's do a full offline backup of the ORACLE database. This
rem includes at least files located in the following file systems:
rem c:\oracle\C21\sapdata0
rem c:\oracle\C21\sapdata1
rem c:\oracle\C21\sapdata2
rem c:\oracle\C21\sapdata3
rem c:\oracle\C21\sapdata4
rem
rem Remarks on the parameters of BRBACKUP:
rem
rem -u system/manager ORACLE username/password
rem -c run BRBACKUP in quiet mode
rem -m all backup all tablespaces
rem -t offline perform backup offline
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-----------------------------------
brbackup -u system/manager -c -m all -t offline