Integrating SAP DB/MaxDB and Data Protector

Restoring an SAP DB/MaxDB Database

 

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>

 

<media_type> <backup_type>

 

Where <backup_type> can be one of the following:

 

DATA for full backup

 

PAGES for differential (diff) backup

 

LOG for transactional (trans) backup

 

 

IMPORTANT

When creating SAP DB/MaxDB media and pipes 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

UNIX

medium_put BACKDP-Data[2]/1 \

 

/var/opt/omni/tmp/<inst_name>.BACKDP_Data[2].1 PIPE

 

DATA

 

medium_put BACKDP-Data[2]/2 \

 

/var/opt/omni/tmp/<inst_name>.BACKDP_Data[2].2 PIPE

 

DATA

 

6. Start the SAP DB/MaxDB utility session by executing the following

 

command:

 

util_connect

 

7. Start the restore from a Data Protector backup session by executing

 

the following command:

 

recover_start <media_group_name> <backup_type> EBID

 

"<inst_name> <SessionID>:1 <pipe_name1>,<inst_name>

 

<SessionID>:2 <pipe_name2>[, ...]"

302

Chapter 3