HP XP P9000 Replication Manager Software 7.6.0-00 Application Agent CLI User Guide

6. Unmount the secondary volume after restoration of the backup data is finished.
Execute the drmumount command on backup server B to unmount the secondary volume.
BKServer B > drmumount 0000000002
KAVX0001-I The drmumount command will now start.
KAVX0406-I Unmounting will now start.
Mount point = W:
KAVX0407-I Unmounting has finished.
Mount point = W:
KAVX0406-I Unmounting will now start.
Mount point = X:
KAVX0407-I Unmounting has finished.
Mount point = X:
KAVX0002-I The drmumount command will now end.
BKServer B >
7. Export the backup information to a temporary file.
To restore the backup data from the secondary volume to the primary volume, you must copy to
the database server the information about the restore operation that was performed from the tape
to the secondary volume.
Execute the drmdbexport command on database server B to export the information about the
restore operation to a temporary file.
BKServer B > drmdbexport 0000000003 -f C:\FTP_ROOT\0000000003.drm
KAVX0001-I The drmdbexport command will now start.
KAVX0002-I The drmdbexport command will now end.
BKServer B >
8. Transfer the temporary file to the database server.
Using ftp on backup server B, transfer the temporary file from backup server B to database
server B.
BKServer B > ftp name-of-database-server-B
ftp> Username: (Enter the login name)
ftp> password: (Enter the password)
ftp> get 0000000003.drm
ftp> quit
BKServer B >
9. Import the temporary file that you transferred from the backup server into the backup catalog on
the database server.
Execute the drmdbimport command on database server B to import the temporary file into the
backup catalog.
DBServer B > drmdbimport -f C:\0000000003.drm
KAVX0001-I The drmdbimport command will now start.
KAVX0418-I Backup information from the specified file was imported into the backup catalog.
Imported backup ID = 0000000002
KAVX0002-I The drmdbimport command will now end.
DBServer B >
Application Agent CLI User Guide 467