Full Backup
To back up an SAP on Oracle database using RMAN, you must use the brbackup tool with the rman_util parameter and with the defined directory for SBT library.
brbackup -p $Oracle_HOME/dbs/veeam_initSID.sap -t online_cons -d rman_util -m full -u <user>/<password> |
- Specify the path to the initialization profile file (veeam_initSID.sap) as the argument for the -p (-profile) parameter.
- Specify online_cons as the argument for the -t (-type) parameter. With this option, BRBACKUP backs up the database in the online state. Also, BRBACKUP keeps the database open during the backup. If offline redo log files are generated during the backup, BRBACKUP backs up them to the same backup file.
- Specify rman_util as the argument for the -d (-device) parameter. This option defines that the backup will be performed using Oracle RMAN.
- Specify full as the argument for the -m (-mode) parameter. With this option, BRBACKUP performs backup of files in all tablespaces, control files and redo log files.
- Specify credentials that will be used to connect to the database as the argument for the -u (-user) parameter. For details, see this SAP article.
For the fill list of BRBACKUP parameters, see the Command Options for BRBACKUP section in the SAP Database Guide: Oracle.