I'm doing replication and I need to export db structure from one Firebird db (dialect 3) into another. I've seen a couple tools like IBPump and FBExport, however all I can find is how to export all the data and not the structure. Any advice?
Firebird – How to Export Database Structure
database-designexportfirebird
Related Question
- Ms-access – Firebird linked tables in Access 2010
- Export Wizard never starts Pre-executing
- Firebird to CSV – Data Migration on OSX
- Firebird – How to Select and Show All Tickets from Last Calendar Year
- Export data from InterBase / Firebird database without credentials
- Firebird – Execute Block Where External Datasource is Localhost
- Firebird is very slow compared to sqlite
Best Answer
There are several ways to do this:
A metadata-only backup using gbak:
And then restore that backup.
A metadata-only restore using gbak:
This can be useful if you already have a backup with data.
Exporting the DDL of a database with ISQL (or another tool)
And then use that script to populate a new database.
For options 1 & 2 see gbak: Backup & Restore Recipes: Meta Data Only
For option 3 see ISQL: Command Line Switches.