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

3. Execute EX_DRM_FS_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 file 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. Using the backup ID checked in the backup ID storage file as the argument, check the file subject
to backup.
To check the ID, execute the drmfscat command.
9. Check the storage location of the data files.
To check the location, execute the drmmount command using the backup ID as the argument.
The command results show the mounted drive name. The mounted drive stores data files.
10. Use a tape backup management software to back up all the files in the mounted drive to tape.
11. Execute the drmumount command to unmount the mount point mounted in step 9.
To restore a file system from a tape (where a tape backup management software that is unable to
link with Application Agent is used):
1. Execute the drmfscat command to identify the backup ID for the backup catalog to be restored.
2. Execute the drmmount command, and then restore the backup from a tape to the storage location
of the data files.
3. Execute EX_DRM_BACKUPID_SET with a backup ID specified to create a backup ID record file.
4. Carry out the procedures following step 4 in Restoring a file system from tape on page 256 to
restore the backup from the secondary volume to the primary volume.
Backing up and restoring a file system by using a file share
When backup information is transferred between a file 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 copy backup information
from server to server. The following subsections describe examples of backing up or restoring a file
system by using a file share.
Preparing to back up or restore a file system by using a file share
To prepare for backing up or restoring a file system by using a file share:
1. Check the temporary directory for extended commands that was created automatically by the
check tool for operation definition files.
For more information about the temporary directory for extended commands, see Checking the
temporary directory for extended commands on page 201.
Application Agent CLI User Guide 273