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:
- 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.
- Type
gfix -v -f databasename.gdb
on the command line console. - If the previous step reports corruption, type
gfix -m -i databasename.gdb
- Repeat step 2 to see if corruption was fixed.
To know more about gfix
parameters refer to Gfix Command-line Tool