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

Conditions Causing an Error
This extended command fails in the following cases:
An invalid option is specified.
The system cannot acquire information from the definition file linked to the operation ID.
A specified Application Agent command option cannot be specified as an extended command
option.
The system cannot acquire information from the backup ID file.
A command executed inside the extended command encounters an error.
The command fails to obtain the name of the directory where dictionary map files are stored.
Examples
In this example, the extended command is used to restore the backup data identified by the oper-
ation ID operation01 from a tape device to the secondary volume.
0000000001 is the backup ID that was created when this data was backed up to the tape device.
The secondary volume is mounted on drive E:.
EX_DRM_TAPE_RESTORE operation01 -backup_id 0000000001 -exopt -mount_pt E:
In this example, the extended command is used to restore the backup data identified by the oper-
ation ID operation01 from a tape device to the secondary volume by forcibly mounting it at the
specified mount point.
0000000001 is the backup ID that was created when this data was backed up to the tape device.
The secondary volume is mounted on drive E:.
EX_DRM_TAPE_RESTORE operation01 -backup_id 0000000001 -exopt -mount_pt E:
-force
EX_DRM_UMOUNT (Unmounts a secondary volume)
Formats
EX_DRM_UMOUNT operation-ID [ -copy_group copy-group-name ]
Description
The EX_DRM_UMOUNT command unmounts the secondary volume mounted by the EX_DRM_MOUNT
command and unlocks the appropriate copy group.
If the volume corresponding to the specified copy group name is already unmounted, the
EX_DRM_UMOUNT command displays a warning message indicating that the volume is already
unmounted and continues processing.
If you back up data with the drmmediabackup command or restore data with the drmmediarestore
command, you must use the EX_DRM_UMOUNT command to unmount the secondary volume.
Before executing this command, you must also stop all application software using the secondary
volume that is to be unmounted.
Application Agent CLI Reference Guide 47