Skip to content

Releases: formeo/fbrescue

Release list

fbrescue v0.4.0

Choose a tag to compare

@github-actions github-actions released this 16 Oct 12:36
895dc52

The first release with binaries. fbrescue now gets data out of damaged
databases, not only intact ones.

  • Damaged page structure. Export no longer stops at damaged pointer
    pages, RDB$PAGES, the transaction inventory or the header page. Data
    pages are found by scanning the file, misplaced pages are read from
    where they are (Firebird 3+), and the ODS version of a database with a
    damaged header is worked out from its system tables.
  • Lost table definitions. Tables missing from RDB$RELATIONS are
    exported as TABLE_<id>, and columns missing from RDB$RELATION_FIELDS
    as FIELD_<id>. When the record formats themselves are lost,
    export --ddl schema.sql reads the tables with layouts computed from
    CREATE TABLE statements. Those can be the creation script, isql -x
    output, or the schema.sql of an earlier export.
  • Recovery rate. The README has a table of how many rows come back
    from each kind of damage, measured on 520 damaged copies of a test
    database. Corrupt bytes inside a record can't be detected and are
    counted as such.
  • report. A JSON report to attach to a bug report: the database
    structure and the problems found. It contains no data, and table and
    column names are replaced by numbers.
  • export --versions all. Writes every version of every row still
    on disk, with its transaction and that transaction's state.
  • Fix: rows of another table's data page are no longer read as rows
    of the table whose pointer page lists it.
  • Unchanged: records with 48-bit transaction numbers and array
    columns are still reported as unsupported.

Download and verify

Pick the archive for your system: the binary needs nothing else installed.
Check it against SHA256SUMS and, with the GitHub CLI, that it was built
by this repository's release workflow:

sha256sum -c SHA256SUMS --ignore-missing
gh attestation verify fbrescue_v0.4.0_windows_amd64.zip -R formeo/fbrescue

Or build it yourself: go install github.com/formeo/fbrescue/cmd/fbrescue@v0.4.0