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

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 "C:\Program Files\CVXPAE\DRM\db\DRM*"
4. Make sure that the message KAIU020-I is output, and then execute the drmfsdisplay or
drmfscat command.
If the drmfsdisplay or drmfscat command can be executed successfully, the dictionary map
files are not damaged.
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-"C:\Program Files\CVXPAE\DRM\db\table-to-be-recovered"
rn-
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 "C:\Program Files\CVXPAE\DRM\db\DRM*"
5. Make sure that the message KAIU020-I is output, and then execute the drmfsdisplay or
drmfscat command.
If the drmfsdisplay or drmfscat command can be executed successfully, the dictionary map
files are not damaged.
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:
1. Execute the drmisext command to extract as many records as possible to a temporary file.
drmischk "C:\Program Files\CVXPAE\DRM\db\table-to-be-recovered" temporary-file-name
2. Create dictionary map files from the temporary file containing the data extracted by the
drmisconv command.
drmisconv -t SI temporary-file-name "C:\Program Files\CVXPAE\DRM\db\
table-to-be-recovered"
CLI User Guide 515