Rebuilding Domain or Post Office Databases

In addition to correcting the physical problems resolved by the database recover process, the rebuild process updates user and object information in a domain database (wpdomain.db) or post office database (wphost.db). However, the process requires that no users or GroupWise agents (MTA or POA) have access to the database during the rebuild process.

You should rebuild a domain or post office database if you encounter any of the following conditions:

When you rebuild a secondary domain database, information is retrieved from the primary domain. When you rebuild a post office database, information is retrieved from the domain it belongs to.

During the rebuild process, a backup of the domain or post office database is created as well as a new wpdomain.db or wphost.db. The records from the primary domain database are copied into the new wpdomain.db. There should not be any data loss. When the rebuild process is complete, the temporary database and the backup database are deleted.


The database rebuilding process

To rebuild a database:

  1. All GroupWise agents that might access the database must be stopped during the rebuild. See Stopping the MTA and Stopping the POA.

  2. If you are rebuilding a post office database, all users should exit and you should disable the post office before the rebuild. See Disabling a Post Office.

  3. Make sure you have sufficient disk space for the copy of the database that is created during the rebuild process.

  4. In ConsoleOne, browse to and select the Domain object or Post Office object where you want to rebuild the database.

  5. Click Tools > GroupWise Utilities > System Maintenance.


    System Maintenance dialog box
  6. Click Rebuild Database > Run.

  7. When prompted, make sure the Path to Database is correct. If an incorrect path is displayed, browse to and select the path to the database being rebuilt. Click OK.