Portable database dump

Component ID

1174672

Component name

Portable database dump

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

A pair of Drush commands to import and export portable cross-database dumps of Drupal websites, supporting consistent import/export across all the database engines that Drupal 7 supports (MySQL, PostgreSQL, SQLite, SQL Server, Oracle, ...).

Quick start

Take a Drupal website (any database engine will do), and export it in a portable format:

$ drush portabledb-export > mysite.dump

Now change the settings.php file to point to an other type of database engine, and reimport the dump:

$ drush portabledb-import mysite.dump