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

drmsqlrestore backup-ID -resync [ -force ][ -undo ][ -nochk_host ]
[ -instance name-of-the-SQL-Server-instance ]
[ -target database-name | -f target-definition-file-name ]
[ -pf copy-parameter-definition-file ]
To apply only the metafile to the primary volume:
drmsqlrestore backup-ID -no_resync [ -undo ][ -nochk_host ]
[ -instance name-of-the-SQL-Server-instance ]
[ -target database-name | -f target-definition-file-name ]
To restore backup data on the remote site by resynchronization:
drmsqlrestore backup-ID -resync [ -force ][ -undo ][ -nochk_host ]
[ -instance name-of-the-SQL-Server-instance ]
[ -target database-name | -f target-definition-file-name ]
[ -template ]
[ -pf copy-parameter-definition-file ]
To apply only the metafiles to the primary volume of the remote site:
drmsqlrestore backup-ID -no_resync [ -undo ][ -nochk_host ]
[ -instance name-of-the-SQL-Server-instance ]
[ -target database-name | -f target-definition-file-name ]
[ -template ]
Description
The drmsqlrestore command lets you use the backup data specified by a backup ID to restore
data from the secondary volume to the primary volume by disk resynchronization. The snapshot
metafile created by the drmsqlbackup command is used for restoration processing.
The following explains the operation of this command for restoration by disk resynchronization:
1. If the restored database was attached, the database will be detached.
If the detachment of the database fails, an error message will be displayed, and a restoration
processing error occurs.
2. The backup data will be restored from the secondary volume to the primary volume by disk
resynchronization.
3. The database will be attached.
4. The instance will be started.
The following explains the command processing for restoration in a cluster configuration. The database
to be restored cannot be used temporarily since the cluster resource containing the database is placed
offline.
1. The command places the cluster resource containing the database and the disk resource offline
when the cluster resource containing the database to be restored is placed online.
If operations to place the cluster resource containing databases and disk resources offline fail,
the command displays an error message and the restoration processing fails.
CLI Reference Guide 177