HP XP7 Replication Manager Application Agent CLI User Guide (TK981-96015, May 2014)

3. Export backup information to temporary files.
To restore the data from the secondary volume to the primary volume, you must copy backup
information about the restore performed from the tape to the secondary volume. Copy this
information to the database server. To export the backup information to temporary files in the
temporary folder for extended commands, execute EX_DRM_DB_EXPORT.
BKServer > EX_DRM_DB_EXPORT Operation_A
4. Receive the temporary files on the database server.
To batch-receive the temporary files held on the backup server onto the database server, execute
EX_DRM_FTP_GET on the database server. In this example, the user ID used for logon to the
FTP server is admin and the password is password. Temporary files are stored in the temporary
folder for extended commands, on the database server.
DBServer > EX_DRM_FTP_GET Operation_A -server BKServer -user admin -password password
5. Import the temporary files, which were transmitted from the database server, into the backup
catalog on the database server.
To import the temporary files, which were transmitted from the database server, into the backup
catalog on the database server, execute EX_DRM_DB_IMPORT on the database server.
DBServer >EX_DRM_DB_IMPORT Operation_A
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: EXG01
BACKUP-ID: 0000000002 BACKUP-MODE: VSS STORAGEGROUP: STR1 ORIGINAL-ID: 0000000002
START-TIME: 2011/02/18 14:48:19 END-TIME: 2011/02/18 14:58:43 HOSTNAME: EVS1
T OBJECT INFORMATIONSTORE FILE FS DG DEVICE COPY-GROUP
M MAILBOXSTORE MAILBOX1(STORAGE_1) N:\data\mail.edb N: - Harddisk2
EXG,EXG_001
- - - - - - - EXG,EXG_001
T TRANSACT - M:\log\E01*.log M: - Harddisk1 EXG,EXG_000
- - - - - - - EXG,EXG_000
C CHECKPOINT - M:\log\E01.chk M: - Harddisk1 EXG,EXG_000
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
Application Agent CLI User Guide 413