HP OpenView Storage Data Protector B6960-96008 用户手册
Integrating SAP DB/MaxDB and Data Protector
Restoring an SAP DB/MaxDB Database
Chapter 3
298
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
Command Syntax
The following is the syntax of the
omnir
command to be used to restore
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
-sapdb
option selects an SAP DB/MaxDB restore.
The
-barhost
option sets the name of the SAP DB/MaxDB Server that
was backed up.
The
-instance
option sets the name of the SAP DB/MaxDB instance
that was backed up.
The
-session
option selects the backup session to be restored. If this
option is not specified, the last backup session is restored, regardless of
the
the
-endlogs
or the
-time
option 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.
but the object's backup ID, which equals the object's backup session ID.
The
-nochain
option 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.
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
Recovery Options” on page 304. Refer also to the
omnir
man page.