Restoring using the data protector cli, Restoring using the data protector – HP A.06.11 User Manual

Page 200

Advertising
background image

Restoring using the Data Protector CLI

From the directory:

Windows:

Data_Protector_home\bin

HP-UX, Solaris, and Linux:

/opt/omni/bin/

Other UNIX

: /usr/omni/bin/

run:

omnir -sap Client:Set -session SessionID -tree FileName

where FileName is the pathname of the SAP R/3 file to be restored.

Windows only:

Specify the pathname in the UNIX format (using slashes to separate

the drive letter, directories, and the filename. The drive letter must be preceded by
a slash).

Example (Windows)

To restore the SAP R/3 file btabd_1.dat to the original location
C:\oracle\ABA\sapdata1\btabd_1

on the Windows system

computer1.company.com

from the backup session 2006/01/23-1, run:

omnir -sap computer1.company.com:ABA.0 -session 2006/01/23-1

-tree /C:/oracle/ABA/sapdata1/btabd_1/btabd_1.dat

Example (UNIX)

To restore the SAP R/3 file btabd_1.dat to the original location
/app/oracle/ABA/sapdata1/btabd_1

on the UNIX system

computer2.company.com

from the backup session 2006/01/23-1, run:

omnir -sap computer2.company.com:ABA.0 -session 2006/01/23-1

-tree /app/oracle/ABA/sapdata1/btabd_1/btabd_1.dat

TIP:

To get a list of backed up SAP R/3 objects, run:

omnidb -sap

To get details on a specific object, including the SessionID, run:

omnidb -sap object_name

Integrating SAP R/3 and Data Protector

200

Advertising