Integrating SAP DB/MaxDB and Data Protector

 

 

Restoring an SAP DB/MaxDB Database

Example

To restore an instance named “inst1” (together with configuration),

 

backed up on an SAP DB/MaxDB Server named “srv1.company.com”

 

from the last backup session and then perform a recovery until the end of

 

logs, enter the following command:

UNIX

On HP-UX:

 

/opt/omni/bin/omnir -sapdb -barhost srv1.company.com

 

-instance inst1 -recover -endlogs

 

On other UNIX:

 

/usr/omni/bin/omnir -sapdb -barhost srv1.company.com

 

-instance inst1 -recover -endlogs

Windows

<Data_Protector_home>\omnir -sapdb -barhost

 

srv1.company.com -instance inst1 -recover -endlogs

 

The restore session can be monitored in the Data Protector Monitor

 

window, where mount prompts for the required media are also displayed.

 

Restoring Using SAP DB/MaxDB Utilities

 

Using this integration, it is also possible to run an integrated Data

 

Protector restore of an SAP DB/MaxDB Server from SAP DB/MaxDB

 

utilities.

 

To perform a restore to an existing SAP DB/MaxDB Server instance, see

 

“SAP DB/MaxDB Restore and Recovery” on page 300.

 

To migrate an SAP DB/MaxDB instance, see “SAP DB/MaxDB

 

Migration” on page 303.

 

Finding Information Needed for Restore

 

To find the information needed for a restore, follow the steps below:

 

Execute the following commands:

 

omnidb -sapdb

 

 

to get a list of SAP DB/MaxDB objects.

 

omnidb -sapdb <object_name>

 

 

to get details on a specific object, including the SessionID.

Chapter 3

299