UNDELETE MASTERKEY
Use the UNDELETE MASTERKEY command to remove the deletion mark from a master key version, thus retaining that version if the PURGE WALLET command is used. Only one version can be unmarked per UNDELETE MASTERKEY command. See DELETE MASTERKEY to mark a version of a master key for deletion.
The OPEN WALLET command must be used before using this command or any of the commands that add, renew, or delete the master keys in the wallet.
Syntax
UNDELETE MASTERKEY VERSION *version*
VERSION version
The version that is to be unmarked for deletion.
Example
This command unmarks version 3 of the master key and returns a message similar to the one shown.
UNDELETE MASTERKEY VERSION 3
Version 3 of Masterkey 'OGG_DEFAULT_MASTERKEY' undeleted from wallet
at location './ wallet'.
Or
UNDELETE MASTERKEY VERSION 3
Version 3 of Masterkey 'OGG_DEFAULT_MASTERKEY' undeleted from wallet at location './dirwlt'.