Drush Deidentify helps you export your Drupal database while removing sensitive data. It allows you to selectively exclude tables and use the Faker library to generate placeholder data for remaining tables, ensuring your database exports are safe for testing or sharing.
Makes it easy to export your database with out sensitive data, and allows for the manipulation of any table structure data with faker.
controlled by your sub module.
Features
- Generate database backups excluding tables (keeping structure) just no data.
- Sanitise any table structure data with faker
- rich hook system to create quick per site extensions.
@todo will fill this out soon
Supported
D7, D9, D10 +
Example usage:
DB backup / export:
drush drush_deidentify:db-export --gzip --result-file=filename.sql --omit_tables=watchdog~webform_submission
Very close to the core drush db-export but calls hooks so no need to use the "omit_tables"
Ask your assistant about Drush De-Identify
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.