Typically, damage to user and resource databases (userxxx.db) and message databases (msgnn.db) can be repaired using the database maintenance tools provided in ConsoleOne or using GroupWise Check (GWCheck). See Maintaining User/Resource and Message Databases and GroupWise Check.
If damage to an individual database is so severe that repair is not possible:
Make sure the user to whom the affected database belongs is not running the GroupWise client.
Use your backup software of choice to restore the database into the proper location in the post office directory.
User databases are stored in the ofuser subdirectory in the post office. Message databases are stored in the ofmsg subdirectory.
To update the restored database with the most current information available, run Analyze/Fix Databases with Contents selected. See Analyzing and Fixing User and Message Databases.