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

Example
In this example, the extended command is used to transfer files from the FTP server to the FTP client,
based on the settings in the operation definition file operation01. The command uses serverA
for the FTP server, ftp_user for the FTP user, and ftp_passwd for the FTP password:
EX_DRM_FTP_GET operation01 -server serverA -user ftp_user -password
ftp_passwd
EX_DRM_FTP_PUT (Transfers a backup information file to the backup server)
Format
EX_DRM_FTP_PUT operation-ID -server FTP-server
-user FTP-user -password FTP-password
Description
The EX_DRM_FTP_PUT 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 client
to the temporary directory for extended commands on the FTP server. It deletes old backup information
files stored in the directories of the FTP server 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:
The operation definition file corresponding to the specified operation ID has been created.
This extended command is executed on the FTP client.
The backup information file that this extended command will transmit has 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.
Arguments
Specify the arguments of this extended command in the following order: operation-ID, -server
FTP-server, -user FTP-user, and -password FTP-password.
operation-ID
A character string that uniquely identifies the operation to be performed. Information in the operation
definition file linked to the specified operation ID is used when executing an extended command.
-server FTP-server
For FTP-server, specify the host name or the IP address of the FTP server to which you want to
transmit the files. You can specify the IP address in IPv4 or IPv6 format. For details on systems that
support the IPv6 format, see the descriptions about operating systems that support the IPv6 format
when using FTP in the HP P9000 Replication Manager Software Application Agent CLI User Guide.
-user FTP-user
For FTP-user, specify the FTP user name used when connecting to the FTP server.
Application Agent CLI Reference Guide 31