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

To back up storage groups to tape (where a tape backup management software that is unable to link
with Application Agent is used):
1. When usual operation is in the split state, execute EX_DRM_CACHE_PURGE to clear the secondary
volume cache.
2. When usual operation is in the split state, execute EX_DRM_RESYNC to resynchronize the copy
group.
3. Execute EX_DRM_EXG_BACKUP to back up the file system to the secondary volume.
4. Execute EX_DRM_DB_EXPORT to export the backup information to temporary files.
5. Execute EX_DRM_FTP_PUT to transfer the temporary files to the backup server.
6. Execute EX_DRM_DB_IMPORT to import the temporary files transferred from the database server
to the backup catalog on the backup server.
7. Check the backup ID.
To check the backup ID, open the backup ID record file (operation-ID.bid) in the following
directory on the backup server:
FTP_HOME_DIR-value\FTP_SUB_DIR-value\operation-ID\BK\operation-ID.bid
8. Check the storage location of the data files.
To make this check, execute the drmmount command with the backup ID determined in step 7
specified as an argument.
The mounted drive contains the data files (*.edb), transaction log files (*.log), and checkpoint
files (*.chk) of the storage group. If necessary, execute the drmexgcat command to check the
contents of the file to be backed up.
9. Use a tape backup management software to back up all the files in the mounted drive to tape.
10. Execute the drmumount command to unmount the mount point mounted in step 8.
To restore a storage group from a tape (where a tape backup management software that is unable
to link with Application Agent is used):
1. Execute the drmexgcat command to identify the backup ID for the backup catalog to be restored.
2. Execute the drmmount command, and then restore the backup from tape to the storage location
checked in backup steps 7 and 8.
3. Execute EX_DRM_BACKUPID_SET by specifying the backup ID to create a backup ID record
file.
4. Carry out the procedures following step 4 described in Restoring storage groups from
tape on page 412 to restore the backup from the secondary volume to the primary volume.
Backing up and restoring storage groups by using a file share
When backup information is transferred between a database server and a backup server, extended
commands (EX_DRM_FTP_PUT or EX_DRM_FTP_GET) are normally used to transfer the information
in an FTP operation. Instead of FTP, however, file sharing can also be used to back up and restore
storage groups. The following subsections describe examples of backing up or restoring storage
groups by using a file share.
Operation for Exchange databases500