Integrating SAP DB/MaxDB and Data Protector

Backing Up an SAP DB/MaxDB Database

ERROROUTPUT /var/opt/omni/tmp/<inst_name>.bsi_err

PARAMETERFILE <name_of_backup_spec>

TIMEOUT_SUCCESS 60

TIMEOUT_FAILURE 30

2.Login to the SAP DB/MaxDB database manager as the SAP DB/MaxDB user created or identified as described in “Configuring Users” on page 263. On the SAP DB/MaxDB Server, execute the following command to login:

dbmcli -d<inst_name> -u<username>,<password>

3.In the SAP DB/MaxDB database manager, register the location of the bsi_env file created in the step 1. of this procedure as follows:

Windows

dbm_configset

-raw

BSI_ENV

<location>\<inst_name>.bsi_env

UNIX

dbm_configset

-raw

BSI_ENV

<location>/<inst_name>.bsi_env

4.Create SAP DB/MaxDB media in an SAP DB/MaxDB media group. Execute the following command for every medium to be created:

medium_put <media_group_name>/<medium_name> <pipe_name> <medium_type> <backup_type>

Where <backup_type> can be one of the following:

DATA for full backup

PAGES for differential backup

LOG for log backup

IMPORTANTWhen creating SAP DB/MaxDB media for the purpose of a Data Protector backup and restore, the media group name must begin with the “BACK” string. The commands below create two media and two pipes (parallelism = 2) in a media group:

Windows

medium_put

BACKDP-Data[2]/1

\

 

\\.\Pipe\<inst_name>.BACKDP_Data[2].1 PIPE DATA

 

medium_put

BACKDP-Data[2]/2

\

 

\\.\Pipe\<inst_name>.BACKDP_Data[2].2 PIPE DATA

288

Chapter 3