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

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.
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.
Information cannot be acquired from the backup ID file.
A command executed inside the extended command encounters an error.
The execution results of a command executed inside the extended command cannot be acquired.
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 export backup information that is identified by
the operation ID operation01:
EX_DRM_DB_EXPORT operation01
EX_DRM_DB_IMPORT (Imports backup information from a file)
Format
EX_DRM_DB_IMPORT operation-ID
Description
This extended command executes the drmdbimport command to import the backup information
corresponding to the specified operation ID. This extended command also generates a backup ID
and records it in a backup ID file in the temporary directory for extended commands.
The backup information to be imported by executing the drmdbimport command is obtained from
the backup information file of 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 information file to be imported by executing this extended command has been gener-
ated by executing the EX_DRM_FTP_PUT or EX_DRM_FTP_GET extended command.
Arguments
operation-ID
Extended commands28