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
200
Integrating SAP R/3 and Data Protector
Need help?
Do you have a question about the Data Protector A.06.11 and is the answer not in the manual?
Questions and answers