HP A.06.11 User Manual

Page 216

Advertising
background image

3.

Simulate a Restore Session

Once you know the information about the object to be restored, you can simulate
a restore using the Data Protector testbar2 utility.

Before you run testbar2, verify that the Cell Manager name is correctly defined
on the SAP Database Server.

Check the Data_Protector_home\Config\client\cell_server, which
contains the name of the Cell Manager system.

Then, test the Data Protector internal data transfer using the testbar2 utility:

Data_Protector_home\bin\testbar2 -type:SAP

-appname:ORACLE_SID

-perform:restore

-object:object_name

-version:object_version

-bar:backup_specification_name

You should see only NORMAL messages displayed on your screen, otherwise
examine the errors reported by the testbar2 utility by clicking the Details
button in the Data Protector Monitor context.

4.

Verify the restore using backint

Run the following command:

Data_Protector_home\bin\backint.exe -f restore -u

ORACLE_SID -i input_file

where the contents of the input_file will be restored.

If this fails, check if the session was performed successfully and if the restore
was started under the appropriate user account.

Backint anticipates a list of files in the following format:backup_ID_1
pathName_1
[targetDirectory_1]backup_ID_2 pathName_2

[targetDirectory_2]backup_ID_3 pathName_3

[targetDirectory_3]

To retrieve the backup_ID numbers, enter the following command:

echo "#NULL #NULL" | backint –f inquiry –u ORACLE_SID

Integrating SAP R/3 and Data Protector

216

Advertising