Completing the recovery

  1. Back up the Raima embedded database files that are located at $HCISITE/exec/databases/*.*. Back them up into a newly created folder, for example, rdmebackup.
  2. Stop all processes in the current site.
  3. Run the hcidbcheck -r command. This command first rebuilds the key file of the recovery database. Then, it checks the DATA file consistency to see if there are still errors in the recovery database. If it returns "0" errors found, then the database is recovered; otherwise, go to the next step.
  4. Run hcidbdump -r -R to transfer the corrupt messages to the error database.
  5. Start the engine processes.

    If the engine starts successfully without Raima system errors (-9XX), then the recovery is complete; otherwise, you must initialize the recovery database because the corrupt database cannot be recovered.

    See hcidbcheck.