Firebird database-corruption and what you can do about it
There are usually only two reasons why a database can be corrupted in Firebird: 1) You copied the fdb-file while the Server was accessing it and 2) You don’t have forced writes enabled and the server shut down unexpectedly (e.g. power-outage)
Database recovery is done in four steps. Here’s how you do it: