Dumpling is a tool and a Go library for creating SQL dump from a MySQL-compatible database.
It is intended to replace mysqldump
and mydumper
when targeting TiDB.
You may read the design document for details.
Dumpling is currently in early development stage, and most features are incomplete. Contributions are welcomed!
- SQL dump is split into multiple files (like
mydumper
) for easy management. - Export multiple tables in parallel to speed up execution.
- Multiple output formats: SQL, CSV, ...
- Write to cloud storage (S3, GCS) natively
- Advanced table filtering via black-/white-lists
- Install Go 1.13 or above
- Run
make build
to compile. The output is inbin/dumpling
. - Run
make test
to run the unit tests. - Run
make integration_test
to run integration tests.
Dumpling is under the Apache 2.0 license. See the LICENSE file for details.