gfix Fixing a database

From InterBase

Go Up to Database Configuration and Maintenance

This section guides you on how to attempt fixing a corrupt database, during this process it's possible to lose some data.

Follow these steps to start the process:

  1. Make sure you work with a copy of the database, this can prevent further damage and provides exclusive access to the database, which is necessary for performing the required actions.
  2. Type gfix -v -f databasename.gdb on the command line console.
  3. If the previous step reports corruption, type gfix -m -i databasename.gdb
  4. Repeat step 2 to see if corruption was fixed.

To know more about gfix parameters refer to Gfix Command-line Tool

Back To: