How It Works
dbdump uses a two-phase approach to ensure your database structure stays intact:
- Phase 1 - Structure: Dumps the schema (CREATE TABLE) for ALL tables
- Phase 2 - Data: Dumps data only for tables you want to keep
Excluded tables remain in the dump with their definitions intact. Review exclusions when retained rows depend on omitted parent-table data.