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

Example of using a file share for storage group restoration
This section explains how to restore storage groups on the backup server by using a file share. For
more operational details on steps 1 to 3 and step 5 and subsequent steps, see Restoring storage
groups from tape on page 412.
To restore storage groups on the backup server by using a file share:
1. Execute the drmtapecat command to check the backup ID of the backup data.
2. Execute EX_DRM_TAPE_RESTORE to restore the backup data from the tape to the secondary
volume.
3. Execute EX_DRM_DB_EXPORT to export backup information to a temporary file.
4. Copy the temporary files from the backup server to the database server.
To copy the temporary files from the temporary directory for extended commands that is on the
database server to the temporary directory for extended commands that is on the backup server,
execute the copy command on the database server.
DBServer > copy /y X:\Operation_A.drm
temporary-directory-for-extended-commands-on-the-database-server\Operation_A\DB
5. Execute EX_DRM_DB_IMPORT to import the temporary files transferred from the backup server
to the backup catalog on the database server.
6. Execute EX_DRM_EXG_RESTORE to restore the secondary volume data to the primary volume.
Deleting backup data
If the backup data in the secondary volume is no longer necessary, you can delete it. Delete backup
data after the data has been backed up from a secondary volume to tape or after the data has been
restored from a secondary volume to the primary volume.
To delete the backup data:
Execute the drmresync command, specifying the backup ID of the data to be deleted.
PROMPT> drmresync -backup_id backup-ID
KAVX0001-I The drmresync command will now start.
KAVX0002-I The drmresync command will now end.
PROMPT>
When you execute this command, the primary volume and the secondary volume are
resynchronized and mirrored. Now the backup information of the specified backup ID is deleted
from the backup catalog.
Operation for Exchange databases502