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

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.
3. Check that the file system has been restored correctly from tape to the secondary volume.
To check that backup information with the date of the backup from the primary volume to the
secondary volume has been restored to the backup server, execute the drmfscat command on
the backup server.
4. Export backup information to temporary files.
To restore the data of the secondary volume to the primary volume, you must copy backup
information about restore processing performed from the tape to the secondary volume. Copy
this information to the file server. To export the backup information to temporary files in the
temporary directory for extended commands, execute EX_DRM_DB_EXPORT.
BKServer > EX_DRM_DB_EXPORT Operation_A
5. Receive the temporary files on the file server.
To batch-receive the temporary files held on the backup server onto the file server, execute
EX_DRM_FTP_GET 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 file server.
FSServer > EX_DRM_FTP_GET Operation_A -server BKServer -user admin -password password
Application Agent CLI User Guide 259