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

Restoring a file system to a primary volume
This section gives an example of restoring a file system when the backup data is stored on a secondary
volume. This example restores the data from the secondary volume to the primary volume by
resynchronizing the volumes. This example uses Operation_A as the operation ID that identifies the
file system to be restored.
To restore the file system:
1. Check the backup ID of the backup data.
Check the backup ID of the backup data used to restore the file system, by executing the
drmfscat command on the file server with a mount point name or mount point directory target
definition file name specified as an argument.
FSServer >drmfscat E:
INSTANCE: E:
BACKUP-ID: 0000000001 BACKUP-MODE: ONLINE INSTANCE: E: ORIGINAL-ID: 0000000001
START-TIME:2002/06/01 10:00:00 END-TIME: 2002/06/01 10:03:00 HOSTNAME: FSServer
T FILE FS DG DEVICE COPY-GROUP
F - E: - Harddisk2 VG01,vol01
F - - - - VG01,vol01
:
If you restore a file system that contains a specific file or directory by executing a restoration
command with the -target option specified, check the restoration target.
2. Create a backup ID record file.
To create a backup ID record file, execute EX_DRM_BACKUPID_SET with the backup ID specified.
FSServer > EX_DRM_BACKUPID_SET Operation_A -backup_id 0000000001
3. Restore the data from the secondary volume to the primary volume.
Restore the data by resynchronizing the primary and secondary volumes. To restore the data,
execute EX_DRM_FS_RESTORE on the file server.
FSServer > EX_DRM_FS_RESTORE Operation_A -resync
Backing up and restoring by using a tape device
This section describes how to back up and restore data by using a tape device.
System configuration
The following example is based on the system configuration shown in the following figure. A
single-file-server system is used in this example, but a multi-file-server system can be used as appropriate.
Application Agent CLI User Guide 251