brbackup -u / -c force -t online -m all -p initSID.sap
The most frequently used BRBACKUP function is a full database backup. You can perform a full backup by running BRBACKUP with the following options:
The mode option (-mode/-m) is set to FULL or ALL.
You can start a full backup either in online mode (-type/-t online_cons) or in offline mode (-type offline). In case of the online_cons type, the offline redo log files generated during the full backup are also backed up to the same media.
The backup storage media is defined by the BR*Tools profile file specified by the BRBACKUP parameter -profile/-p.
The user name and password used by BRBACKUP to log on the Oracle database system is specified by the parameter -user/-u. If you are working as a DBA authenticated to the database by the OS ($OPSuser), you can just use “/” as value of this parameter.
The parameter “-confirm/-c” stands for an unattended mode. This is mostly used in the backup scripts, so BRTOOLS will not prompt you for confirmations.
$BRBACKUP -c -u / -t ONLINE_CONS -m FULL -p /oracle/CPT/102_64/dbs/initCPT.sap