Performing brbackup online SAP backups
You can use brbackup instead of sapdba to perform SAP database backups. This section shows an online backup with dynamic switching of files into and out of backup mode. You can change the backup_type and backup_dev_type by changing the initSAP.sap parameter file or by specifying -t online and and - d util_file_online on the brbackup command. Here is what these changes look like in the initSAP.sap file:
backup_type = online
backup_dev_type = util_file_online
This backup method allows sapdba or brbackup to use the switch files with the NetBackup for SAP backint interface. This method provides a better online backup for very large files because only the necessary tablespaces are placed in backup mode. When NetBackup is ready to process another file, it notifies brbackup to take the completed file out of backup mode and put the next file into backup mode.
To perform brbackup online SAP backups
- Verify that you have completely configured NetBackup, NetBackup for SAP, and the SAP tools.
- Verify that you are user sapadm.
Enter the brbackup command.
To initiate an online backup, enter the following command:
brbackup -d util_file_online -t online -m all
To initiate a full backup when you use RMAN, enter the following command:
brbackup -d rman_util -t online -m full -c
To initiate an incremental backup when you use RMAN, enter the following command:
brbackup -d rman_util -t online -m incr -c
More Information