ddev_export_db
Export a DDEV database to a file or stdout with optional compression (gzip, bzip2, xz). Specify target database and output file path.
Instructions
Dump a database to a file or stdout. Compression: gzip (default), bzip2, or xz. Target DB via targetDb (default "db"). Usage: ddev export-db [project] [flags] MCP args → ddev: file → -f/--file, targetDb → -d/--database, compressionType → --gzip|--bzip2|--xz For full options and examples: ddev help export-db
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Output file path | |
| targetDb | No | Target database name | |
| projectPath | No | Path to the DDEV project directory | |
| compressionType | No | Compression type for export |