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

6. Restore the data from the secondary volume to the primary volume.
Restore the data by resynchronizing the primary and secondary volumes. To restore the data,
execute EX_DRM_EXG_RESTORE on the database server.
DBServer > EX_DRM_EXG_RESTORE Operation_A -resync -recovery
Supplementary information
If data was backed up using VSS, the data can be restored in units of Information Stores. To restore
data in units of Information Stores, specify the Information Store name in the -target option.
An example of executing the drmexgcat command immediately before restoring data from the
secondary volume to the primary volume is shown below:
DBServer > drmexgcat -target STORAGE_1
STORAGEGROUP: STORAGE_1
BACKUP-ID:0000000002 BACKUP-MODE: VSS STORAGEGROUP: STORAGE_1 ORIGINAL-ID:0000000001
START-TIME:2002/06/01 10:30:00 END-TIME: 2002/06/01 10:31:00 HOSTNAME:DBServer
T OBJECT INFORMATIONSTORE FILE FS DG DEVICE
COPY-GROUP
M MAILBOXSTORE MAILBOX1(STORAGE_1) E:\STR1\priv1.edb E: - Harddisk3
VG01,vol01
- - - - - - -
VG01,vol01
M MAILBOXSTORE MAILBOX1(STORAGE_1) E:\STR1\priv1.stm E: - Harddisk3
VG01,vol01
- - - - - - -
VG01,vol01
:
:
The following is an example of executing restoration when the backup data shown above exists,
and you want to restore only Information Store MAILBOX1 that belongs to storage group STOR-
AGE_1:
DBServer > EX_DRM_EXG_RESTORE Operation_A -resync -recovery -target STORAGE_1\MAILBOX1
To perform restoration in units of Information Stores, you need to execute a roll-forward with the
-recovery option specified. For details on roll-forward, see Restoring by using transaction logs
(Roll-forward) on page 414.
Backing up a storage group by using a user script
By using a backup command that specifies a user script, you can use a single operation to back up
a storage group to tape from the primary volume via the secondary volume.
System configuration
The example is based on the system configuration shown in the figure below.
CLI User Guide 411