HP StorageWorks P9000 Replication Manager Software 7.1 CLI User Guide (TB584-96026, May 2011)

E Restoring from a tape directly to a
primary volume in a Snapshot configuration
This appendix describes an example of restoring data from tape directly to a primary volume in a
Snapshot configuration. The descriptions in this appendix apply to the Application Agent CLI.
Note that the procedure for restoring data from tape directly to a primary volume is not supported if
the configuration uses Exchange Server.
Example of Snapshot configuration
This example assumes the following as the example Snapshot configuration:
There are two server machines: for the database server and backup server. Each is directly con-
nected to a tape device.
The tape device connected to the backup server is used for backing up the contents of the secondary
volume to tape, using the usual backup procedure.
The tape device connected to the database server is used for restoring the tape contents directly
to the primary volume.
Procedure for backing up to tape on the backup server
When backing up to tape on the backup server, export the backup information to a file, and then
manage that file appropriately. Name the output file with a name that allows you to understand the
backup contents, so that you can identify the file at restoration.
To export the backed-up data to a file, on the backup server execute the following command:
PROMPT> drmdbexport backup-ID -f file-name
The backup ID used by this command is the backup ID that was used when backing up to tape. (Create
the file in the DRM_DB_PATH directory.) Make sure that you back up the output file because, if this
file is unavailable, you will be unable to restore from tape directly to a primary volume.
When using an extended command to back up to tape, check the backup-ID record file
(operation-ID.bid) in the directory given below to confirm the backup ID. The backup ID used for
export is the backup ID that was used when backing up to tape. (Create the file in the DRM_DB_PATH
directory.)
/var/opt/drm/script/tmp/operation-ID/BK/operation-ID.bid
Procedure for restoring from tape directly to the primary volume
Perform the following procedure on the database server.
To restore data that was backed up to tape directly to the primary volume:
CLI User Guide 551