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

3. Export the backup information to temporary files.
To perform backup from the secondary volume to tape, you need to copy information, about the
backup operations from the primary volume to the secondary volume, to the backup server. To
export information about backup to temporary files, execute EX_DRM_DB_EXPORT. The temporary
files are stored in the temporary directory for extended commands, on the file server.
FSServer > EX_DRM_DB_EXPORT Operation_A
4. Transfer the temporary files to the backup server.
Transfer the temporary files in batch, from the file server to the backup server. To transfer the
files, execute EX_DRM_FTP_PUT on the file server. In this example, the user ID used for logon
to the FTP server is admin and the password is password. The temporary files are stored in the
temporary directory for extended commands, on the backup server.
FSServer > EX_DRM_FTP_PUT Operation_A -server BKServer -user admin -password password
5. Import the temporary files transferred from the file server, into the backup catalog of the backup
server.
Import the temporary files transferred from the file server, into the backup catalog of the backup
server. To import the temporary files, execute EX_DRM_DB_IMPORT on the backup server.
BKServer > EX_DRM_DB_IMPORT Operation_A
6. Check that the temporary files have been imported correctly.
To check that backup information bearing the date on which the temporary files had been backed
up from the primary volume to the secondary volume has been imported on the backup server,
execute the drmfscat command on the backup server.
7. Back up the data from the secondary volume to a tape.
To back up the data, execute EX_DRM_TAPE_BACKUP on the backup server. Here, the drive
letter of the secondary volume is E:.
BKServer > EX_DRM_TAPE_BACKUP Operation_A -mount_pt E:
When backup is performed, information about these backup operations is registered in the
backup catalog with the new backup ID 0000000002.
8. Check that the file system has been backed up correctly.
To check that backup information bearing the date on which the file system had been backed
up from the primary volume to the secondary volume is available, execute the drmtapecat
command on the backup server.
When you execute backup, information about this backup is registered in the backup catalog
with the new backup ID 0000000002.
Restoring a file system from tape
This section gives an example of restoring data that was backed up to a tape and recovering a file
system. This example restores the data from tape to a secondary volume, and then restores the data
from the secondary volume to the the primary volume by resynchronizing the volumes. This example
uses Operation_A as the operation ID that identifies the file system to be restored.
Operation for file systems258