HP StorageWorks P9000 Replication Manager Software 7.1 CLI Reference Guide (TB584-96021, May 2011)

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.
The system cannot acquire information from the operation definition file linked to the operation
ID.
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 create a backup ID file that contains the backup
ID 0000000001:
EX_DRM_BACKUPID_SET operation01 -backup_id 0000000001
EX_DRM_CG_DEF_CHECK (Checks the contents of a copy-group list file)
Formats
EX_DRM_CG_DEF_CHECK -cg_file copy-group-list-file-name
Description
This extended command is used to check the contents of a copy-group list file. The command first
checks to see if the file specified in the argument exists. If it does, the command then checks all the
copy groups set in the copy-group list file to make sure that:
One copy group name is coded on each line.
There is no duplication of copy group names in the file.
The copy group names in the file are included in the list of copy groups displayed by the drmcgctl
command.
CLI Reference Guide 25