HP P9000 Replication Manager Software 7.3.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 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:
An operation definition file linked to the specified operation ID has been provided.
This extended command is executed on the FTP client.
The files that this extended command will transmit have already been generated by executing the
EX_DRM_DB_EXPORT extended command.
The EX_DRM_FS_DEF_CHECK command has been executed to create a directory on the FTP
server that will contain the transferred files.
Application Agent CLI Reference Guide 29