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

Extended command specifications (Common commands)
EX_DRM_BACKUPID_SET (Generates a backup ID file)
Format
EX_DRM_BACKUPID_SET operation-ID -backup_id backup-ID
Description
This extended command is used to generate a backup ID file that contains the specified backup ID.
The command stores the file in the temporary directory for extended commands.
Execute this extended command as preparation for restoring the backed up file system or the database
to the primary volume. Execute the command by specifying the backup ID to be used for restoring
(the backup ID generated when you backed up the file system or the database to the secondary
volume).
Prerequisites
The prerequisites for executing this extended command are as follows:
An operation definition file corresponding to the specified operation ID has been created.
You have confirmed the backup ID to be specified with this extended command by viewing the
backup catalog information. This information can be obtained by using one of the following
commands:
When backing up a file system, use the drmfscat command.
When backing up an SQL Server database, use the drmsqlcat command.
When backing up an Exchange database, use the drmexgcat command.
Arguments
operation-ID
A character string that uniquely identifies the operation to be performed.
-backup_id backup-ID
Specify the backup ID to be used when restoring the backed up file system or database to the primary
volume. A backup ID uniquely identifies backup data, and is registered in the backup catalog during
the backup operation.
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.
Application Agent CLI Reference Guide 25