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

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.
Return Values
0: Normal termination
Any value other than 0: Termination with an error
Conditions Causing an Error
This extended command fails in the following cases:
An invalid option is specified.
The system cannot acquire information from the operation definition file linked to the operation
ID.
The copy source folder of the file to be copied does not exist.
The backup ID cannot be recorded in the backup ID file.
A command executed inside the extended command encounters an error.
Information cannot be acquired from the host environment settings file.
No storage directory for extended-command temporary files is specified in the operation definition
file.
The command fails to obtain the name of the directory where dictionary map files are stored.
Example
In this example, the extended command is used to import backup information, based on the settings
specified in the operation definition file operation01:
EX_DRM_DB_IMPORT operation01
EX_DRM_FTP_GET (Acquires a backup information file from the backup server)
Format
EX_DRM_FTP_GET operation-ID -server FTP-server
-user FTP-user -password FTP-password
Description
The EX_DRM_FTP_GET command transfers the backup information file corresponding to the operation
ID specified in the arguments from the temporary directory for extended commands on the FTP server
to the temporary directory for extended commands on the FTP client. At this time, it deletes old backup
information files stored in the directories of the FTP client before transferring the new file. The command
also transfers the SQL Server metafile (when the backup is of an SQL Server database) at the same
time.
Prerequisites
The prerequisites for executing this extended command are as follows:
Application Agent CLI Reference Guide 29