HP XP P9000 Replication Manager Software 7.6.0-00 Application Agent CLI Reference Guide

In this example, the extended command is used to forcibly mount the secondary volume identified
by the operation ID operation01 and execute a tape device backup:
EX_DRM_TAPE_BACKUP operation01 -exopt -backup -force
EX_DRM_TAPE_RESTORE (Restores data from backup tape to the secondary
volume)
Formats
EX_DRM_TAPE_RESTORE operation-ID -backup_id backup-ID
[ -exopt [ -mount_pt mount-point-directory-name][ -raw ]
[ -force ] [ -bup_env configuration-definition-file-name] ]
The command can also be executed in the following format:
EX_DRM_TAPE_RESTORE operation-ID -backup_id backup-ID
[ -mount_pt mount-point-directory-name][ -raw ]
Description
This extended command executes the drmmount, drmmediarestore, and drmumount commands
and restores backup data from a tape device to the secondary volume. The extended command
creates a backup ID record file containing the backup ID. The command also restores the SQL Server
metafile (when the backup is of an SQL Server database).
When you execute EX_DRM_TAPE_RESTORE, the drmmediarestore command is executed, and
a window opens. During this processing, the window on which the extended command was started
is in the WAIT status.
If Backup Exec is in use, a message will appear in the window where the drmmediarestore
command was started. Follow the instructions contained in the message to perform restoration.
After restoration, enter one of the following keywords:
YES (normal termination)
NO (termination with an error)
CANCEL (operation canceled)
After restoration with Backup Exec finishes, enter the correct keyword.
If NetBackup is in use, the window closes after the drmmediarestore command execution terminates.
Perform subsequent processing in the window where the extended command was started.
When the drmmount command terminates normally, the drmumount command is executed, regardless
of the drmmediarestore command results.
Prerequisites
The prerequisites for executing this extended command are as follows:
An operation definition file linked to the specified operation ID has been provided.
Tape backup management software is used with Application Agent.
Extended commands44