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

The system detects an error in the results of the file check.
The command fails to create a temporary directory.
The command fails to obtain the name of the directory where dictionary map files are stored.
Examples
In this example, the extended command is used to check the contents of the operation definition
file C:\Program Files\drm\SCRIPT\conf\_OP0001.dat for a database server:
By specifying an operation ID:
EX_DRM_SQL_DEF_CHECK OP0001 -db
By specifying an operation definition file name:
EX_DRM_SQL_DEF_CHECK -db -f "C:\Program Files\drm\script\conf\_OP0001.dat"
In this example, the extended command is used to check the contents of the operation definition
file C:\Program Files\drm\SCRIPT\conf\_OP0001.dat for a backup server:
By specifying an operation ID:
EX_DRM_SQL_DEF_CHECK OP0001 -bk
By specifying an operation definition file name:
EX_DRM_SQL_DEF_CHECK -bk -f "C:\Program Files\drm\script\conf\_OP0001.dat"
EX_DRM_SQL_RESTORE (Restores an SQL Server database backup to the primary
volume)
Formats
To restore data by resynchronizing the primary and secondary volumes:
EX_DRM_SQL_RESTORE operation-ID -resync [ -force ] [ -undo ]
[ -nochk_host ]
[ -target database-name | -f database-list-file ]
[ -pf copy-parameter-definition-file]
To apply only metafiles to the primary volume:
EX_DRM_SQL_RESTORE operation-ID -no_resync [ -undo ]
[ -nochk_host ]
[ -target database-name | -f database-list-file ]
Description
This extended command executes the drmsqlrestore command to restore backup data from the
secondary volume to the primary volume for a specified database.
Extended commands56