Use the dump and load procedure to try to recover a corrupted database. The dump and load procedure uses the Berkeley database db_dump and db_load utilities, which Calendar Server includes in the following directory:
The db_dump utility reads a database file and writes the database entries to an output file, using a format that is compatible with the db_load utility.
For documentation about the db_dump and db_load utilities, refer to the Sleepycat Software Web site:
Your success in recovering a database using the db_dump and db_load utilities depends on the degree of corruption of your database. You might need to try several db_dump options before you successfully recover your database. If your database is severely corrupted, however, recovery might not be possible, and you might need to revert to the last good hot backup or archive backup of your database.
Before you perform the dump and load procedure, your calendar database must be Berkeley DB version 3.2.9, or later. If you have an earlier version, first run the cs5migrate utility to upgrade your calendar database.
For the most up to date version of cs5migrate, call Sun technical support.