Integrating SAP DB/MaxDB and Data Protector

 

Restoring an SAP DB/MaxDB Database

 

to get a list of SAP DB/MaxDB objects.

 

omnidb -sapdb <object_name>

 

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

 

Restoring

The omnir

The following is the syntax of the omnir command to be used to restore

Command Syntax an SAP DB/MaxDB instance:

omnir -sapdb -barhost <ClientName> -instance <InstanceName>

[-destination <ClientName>] [-newinstance <DestinationInstanceName>] [-session <SessionID>]

[-recover [-endlogs -time: <YYYY-MM-DD.hh.mm.ss>] [-from_disk]]

[-nochain]

The -sapdboption selects an SAP DB/MaxDB restore.

The -barhostoption sets the name of the SAP DB/MaxDB Server that was backed up.

The -instanceoption sets the name of the SAP DB/MaxDB instance that was backed up.

The -sessionoption selects the backup session to be restored. If this option is not specified, the last backup session is restored, regardless of the -endlogsor the -timeoption selection.

When restoring objects that have copies do not use the copy session ID, but the object's backup ID, which equals the object's backup session ID.

The -nochainoption instructs the integration to restore only the selected or last backup session; the integration does not restore the whole restore chain of full, differential, and transactional backups.

For descriptions of all other options, see “SAP DB/MaxDB Restore and Recovery Options” on page 304. Refer also to the omnir man page.

298

Chapter 3