Skip to content

v1.0.0

Choose a tag to compare

@atj4me atj4me released this 05 Nov 03:43
· 8 commits to main since this release

First release

Drush-style sql-sync for DDEV: sync a production MySQL database into a local DDEV project over SSH.

Features

  • Drush-style invocation and aliases — alias YAML config in .ddev/sql-sync/aliases.yml, never overwritten
  • Platform defaults from the project's DDEV type
  • Dump via the app's own export (WP-CLI / Drush) or mysqldump, with credentials resolved from the app config:
    • .env
    • wp-config.php
    • settings.php
  • Credentials are merged field-by-field with an optional explicit database: block in the alias
  • Download over rsync
  • Import via ddev import-db
  • Sanitize on by default:
    • Bundled SQL for Laravel and WordPress
    • drush sql-sanitize for Drupal