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

Description
This extended command deploys the SQL Server metafiles from the temporary directory for extended
commands to the directory indicated below.
On the database server:
The VDI metafile storage directory that was registered with the drmsqlinit command
On the backup server:
directory-specified-for-FTP_HOME_DIR\directory-specified-for-
FTP_SUB_DIR\operation-ID\AP
When this extended command is executed on the backup server, the system first deletes all SQL Server
metafiles from the copy destination folder. The system then copies the SQL Server metafiles from the
copy source folder to the copy destination folder. By deleting old metafiles, this extended command
prevents old metafiles from being backed up to a tape device.
On the database server, all SQL Server metafiles that are generated when the database is backed
up to the secondary volume are protected. Therefore, if this extended command is executed on the
database server, SQL Server metafiles are not deleted.
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 file from which this extended command will acquire information has been generated
by executing the EX_DRM_BACKUPID_SET or EX_DRM_DB_IMPORT extended 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.
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 destination folder for the target file does not exist.
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.
Example
In this example, the extended command is used to deploy SQL Server metafiles based on the settings
specified in the operation definition file operation01:
Application Agent CLI Reference Guide 61