Firebird corruption errors and what to do
Each page explains what the message means, what to try with Firebird’s own tools, and how to get the data out when they fail. The general order of steps is on the recovery page.
internal Firebird consistency check (decompression overran buffer (179))— a record’s bytes are damagedinternal Firebird consistency check (wrong record length (183))— a record does not match its table’s layoutinternal Firebird consistency check (cannot find tip page (165))— the transaction inventory is damageddatabase file appears corrupt/page is of wrong type— a page holds something other than it shouldI/O error during "read" operation— the file is shorter than the database, or the disk failsgbak: ERROR…Exiting before completion due to errors— the backup of a damaged database stops