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

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 the backup information to temporary files in the temporary
directory for extended commands.
4. Copy the temporary files from the backup server to the file server.
To copy the temporary files from the temporary directory for extended commands that is on the
backup server to the temporary directory for extended commands that is on the file server, execute
the copy command on the file server.
FSServer > copy /y X:\Operation_A.drm
extended-command-temporary-directory-on-the-file-server\Operation_A\DB
5. Execute EX_DRM_DB_IMPORT to import the temporary files copied from the backup server to
the backup catalog on the file server.
6. Execute EX_DRM_FS_RESTORE to restore the secondary volume data to the primary volume.
Deleting backup data
If the backup data on the secondary volume is no longer necessary, 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 will be
resynchronized, and mirrored. Now the backup information of the specified backup ID will be
deleted from the backup catalog.
Application Agent CLI User Guide 277