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

Conditions Causing an Error
This extended command fails in the following cases:
An invalid option is specified.
The file specified in the argument does not exist, or the system cannot access the file.
An error is detected in the copy-group list file.
A command executed inside the extended command encounters an error.
Example
In this example, the extended command is used to check the copy-group list file C:\WORK\CG-
DEF.txt:
EX_DRM_CG_DEF_CHECK -cg_file C:\WORK\CGDEF.txt
EX_DRM_DB_EXPORT (Exports backup information to a file)
Format
EX_DRM_DB_EXPORT operation-ID
Description
This extended command executes the drmdbexport command to export the backup information
corresponding to the specified operation ID. The backup information that was exported is recorded
in the backup information file of the temporary directory for extended commands.
The backup ID is used to specify the backup information to be exported during the drmdbexport
command execution from the backup ID file in the temporary directory for extended commands.
Prerequisites
The prerequisites for executing this extended command are as follows:
An operation definition file linked to the specified operation ID has been provided.
The backup ID to be referenced by this extended command has already been stored in the backup
ID file by executing one of the following extended commands:
When backing up a file system, use the EX_DRM_FS_BACKUP or EX_DRM_TAPE_RESTORE
command.
When backing up an SQL Server database, use the EX_DRM_SQL_BACKUP or
EX_DRM_TAPE_RESTORE command.
When backing up an Exchange database, use the EX_DRM_EXG_BACKUP or
EX_DRM_TAPE_RESTORE command.
Arguments
operation-ID
A character string that uniquely identifies the operation to be performed. Information in the operation
definition file corresponding to the specified operation ID is used when executing the extended
command.
Application Agent CLI Reference Guide 27