
Profile Parameters and BRBACKUP Command Options
Save-Set Grouping and Preparation Run
To define the size of the save sets by the number of files they contain, make the following entry in the
initialization profile init<DBSID>.sap:saveset_members = 1|2|3|4|tsp|all (
default: 1)The corresponding command option is:
brbackup -s|-savesetsYou can start the preparation run for determining the optimum distribution of files across the save sets as follows:
For more information, see
RMAN Save-Set Grouping.RMAN Backup with the SAP Backup Library
For backups with the SAP backup library you need to make the following special entries in the initialization file
init<DBSID>.sap or set the corresponding command options for backup to:For more information, see
RMAN Backup with the SAP Backup Library.RMAN Backup with an External Backup Library
For backups with external backup libraries, you need to make the following entries in the initialization profile
init<DBSID>.sap or the corresponding command options:backup_dev_type = rman_util
You can set other parameters as well, which BRBACKUP sends directly to the Oracle RMAN (without the prefix
rman_). These parameters affect how the save sets are formed and the parallel backup to different media.Number of channels allocated to the parallel processes
Number of files in each save set
Default is 0 (that is, one file in each save set for normal backups, or all files in one save set for incremental backups)
For more information on these parameters, see
Initialization Profile init<DBSID>.sap and the Oracle backup and recovery documentation.For more information, see
RMAN Backup with an External Backup Library.RMAN Backups Without Backup Library
For normal backups to disk with RMAN, you need to make the following entries in the initialization file
init<DBSID>.sap or the corresponding command options:The individual steps of the incremental backup strategy without backup library have the following command options:
brbackup –m incr –d disk
brbackup –b last –m incr –d tape|pipe|util_file
For more information, see
RMAN Incremental Backups Without a Backup Library.Backup of Offline Redo Log Files with RMAN
If you are using the SAP backup library, set the following entries in the initialization file
init<DBSID>.sap or use the corresponding command options:If you are using an external backup library, use the following setting:
backup_dev_type = rman_util
For backups to disk with RMAN but without a backup library, use the following settings:
Then start BRARCHIVE, for example as follows:
brarchive -sd -c
For more information, see
RMAN Backup of the Offline Redo Log File.Restoring Incremental Backups
To make the database consistent again, for example after a media error, you can use the following BRRESTORE command (RMAN redoes the changes in the files that have been affected):
brrestore -b last –m 0[,00]
brrestore -b <brb_log_name> –m all|<object list>|..
brrestore -b last –m incr
For more information, see
RMAN Restore of Incremental Backups.Restoring Incremental Backups with Structural Changes
In an incremental backup with structural changes, the new files are backed up in full to a second save set in subsequent incremental backups. The following save sets are created if the SAP backup library is used:
The backup of the new files to a separate save set allows a precise specification of which files are to be restored.
Restore of changes to all files that were in the database at the time of the last full backup at level 0 (first save set of the last incremental backup):
brrestore -b last -m incr_only
Restore of the files that have been added since the last full backup at level 0 (second save set of the last incremental backup):
brrestore -b last -m incr_full
Restore of the whole incremental backup (both save sets, if they exist):
brrestore -b last -m incr
For more information, see
RMAN Incremental Backups After Structural Changes.
See also:
Oracle documentation