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

1. Create the parameter file for error recovery in the desired directory.
fi-Application-Agent-installation-directory\DRM\db\table-to-be-recovered
2. Execute the drmiskeymnt command to restore missing key files (.K01 or .Knn).
drmiskeymnt parameter-file-name
3. Execute the drmischk command to verify the restored dictionary map files.
drmischk -l 3 Application-Agent-installation-directory\DRM\db\DRM*
4. After the message KAIU020-I is output, make sure that there are no problems in the dictionary
map file information and the backup information.
Execute the commands to display the dictionary map file information and the backup information
and by confirming that no error messages are displayed, you can confirm that there are no
problems in the dictionary map files. For details about how to display dictionary map file
information and backup information, see Displaying dictionary map file information or backup
information on page 528.
Restoring missing data files (.DRF or .DAT)
When data file (.DRF or .DAT) backups exist
To restore missing data files when backups exist:
1. Restore the data files (.DRF or .DAT) of all dictionary map files.
2. Create the parameter file for error recovery in the desired directory.
fi-Application-Agent-installation-directory\DRM\db\table-to-be-recovered
3. Execute the drmiskeymnt command to restore the key files (.K01 or .Knn) of all dictionary
map files.
4. Execute the drmischk command to verify the restored dictionary map files.
drmischk -l 3 Application-Agent-installation-directory\DRM\db\DRM*
5. After the message KAIU020-I is output, make sure that there are no problems in the dictionary
map file information and the backup information.
Execute the commands to display the dictionary map file information and the backup information
and by confirming that no error messages are displayed, you can confirm that there are no
problems in the dictionary map files. For details about how to display dictionary map file
information and backup information, see Displaying dictionary map file information or backup
information on page 528.
When data file (.DRF or .DAT) backups do not exist
You cannot restore data files (.DRF or .DAT), which means that you will also be unable to restore
the backup catalog information. Use the drmdbsetup utility to recreate the dictionary map files.
Restoring incorrect data files (.DRF or .DAT)
To restore incorrect data files:
Application Agent CLI User Guide 527