HP StorageWorks P9000 Command View Advanced Edition Suite Software 7.0 Mainframe Agent Installation and Configuration Guide (TB581-96014, November 2010)

To apply only metafiles to the primary volume:
EX_DRM_SQL_RESTORE operation-ID -no_resync [ -undo ]
[ -nochk_host ]
[ -target database(s) | -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.
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 has been stored in a backup ID file by executing either 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.
-resync
Specify this option to restore data from the secondary volume to the primary volume by resynchronizing
the volumes. The contents of the primary volume become the same as the contents of the secondary
volume.
When executing the extended command with this option specified, stop the program services that
reference the Windows performance registry.
-no_resync
Specify this option if you want to apply only metafiles to the primary volume without restoring backup
data from the secondary volume to the primary volume. Use this option when the target data cannot
be restored by using the drmsqlrestore command (for example, when the target data must be
directly restored to the primary volume because the drive has become corrupted).
-force
Specify this option to restore the data from the secondary volume to the primary volume by forcibly
resynchronizing the volumes.
You can perform a forced resynchronization if the copy group name of the primary volume (obtained
when the backup processing was performed on the file server or database server) matches the
information on the file server or the database server. You can perform a forced resynchronization
even though the LDEV and SERIAL numbers do not match the LDEV and SERIAL numbers when the
backup processing was performed.
Specify this option only if restoration by resynchronization could not be performed with the -resync
option, such as when the LDEV number changed when the volume was replaced. If you specify this
option for normal restoration, data might be corrupted.
-undo
Extended commands56