Repository navigation
Direct loading into a new Firebird database.
load. Recovered tables and typed rows, including BLOBs and arrays, can
now be written directly to an existing empty database on a Firebird 2.5–5.0
server. The pure-Go driver is linked into the same static binary; no client
library, cgo or helper program is required
(#21).- Safe target handling.
loadnever creates or overwrites a database file,
rejects a target with user relations and takes the password only from
FBRESCUE_PASSWORD. The source database remains read-only. - No partial commit. Rows share one transaction and are committed only
after complete recovery. Ordinary errors roll back the rows and remove the
newly created empty schema; an uncertain commit leaves the schema in place
rather than risking rows that may have reached the server. - JSON and integration tests.
load --jsonjoins the schema-version-1
document family. Round trips through real Firebird 2.5–5.0 servers compare
source and target JSON Lines byte for byte and verify source hashes,
nonempty-target rejection and failure cleanup.
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_v1.0.0_windows_amd64.zip -R formeo/fbrescue
Or build it yourself: go install github.com/formeo/fbrescue/cmd/fbrescue@v1.0.0