HP StorageWorks P9000 Replication Manager Software 7.1 CLI User Guide (TB584-96026, May 2011)

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.
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 it from tape to the secondary volume.
To check the backup ID, execute the drmtapecat command on the backup server.
BKServer >drmtapecat -hostname FSServer -l
BACKUP-ID ORIGINAL-ID HOSTNAME BACKUP-OBJECT INSTANCE SNAPSHOT TIME
EXPIRATION TIME BACKUP-MEDIA
0000000002 0000000001 FSServer FILESYSTEM E: 2003/08/01 19:00:00 2003/11/11 19:00:00 -
:
:
If you restore a file system that contains a specific file or directory by executing a restoration
command with the -target option specified, you must check the restoration target. In such a
case, execute the drmtapecat command with the following options (arguments) specified:
-o FILESYSTEM mount-point-directory-name-or-drive-name
-backup_id backup-ID
2. Restore the backed up data from the tape to the secondary volume.
To restore the data, execute EX_DRM_TAPE_RESTORE on the backup server.
BKServer > EX_DRM_TAPE_RESTORE Operation_A -backup_id 0000000002
When a restore is executed, information about the restore operation will be registered in the
backup catalog of the backup server. The information has the new backup ID 0000000003.
Operation for file systems256