Download the PHP package druidfi/drush-gdpr-dumper without Composer
On this page you can find all versions of the php package druidfi/drush-gdpr-dumper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download druidfi/drush-gdpr-dumper
More information about druidfi/drush-gdpr-dumper
Files in druidfi/drush-gdpr-dumper
Package drush-gdpr-dumper
Short Description A drop-in replacement for mysqldump that optionally sanitizes DB fields for better GDPR conformity.
License GPL-2.0-or-later
Informations about the package drush-gdpr-dumper
Drush GDPR Dumper
A drop-in replacement for drush sql-dump that optionally sanitizes DB fields for better GDPR conformity.
It is based on the druidfi/gdpr-mysqldump library, and can in principle dump any database that PDO supports.
Install
Require druidfi/gdpr-mysqldump with Composer:
Enable the module in Drupal UI or with Drush:
Drush
If you want to create a sql dump on live servers for local purposes (as a developer, themer, ...), you should use following command:
instead of
drush sql-dump-gdpr
will automatically strip all GDPR related data from the sql dump to help you
be GDPR compliant YO!
Configuration
In settings.php you can do the override configuration like this:
This module can be configured by editing the gdpr_dumper.settings.yml
file.
druidfi/gdpr-mysqldump contains more info about the gdpr-expressions and gdpr-replacement options.
Faker documentation lists all available formatters.
Events
The module dispatches two events:
GdprDumperEvents::GDPR_EXPRESSIONS
GdprDumperEvents::GDPR_REPLACEMENTS
This allows developers to alter the expressions and replacements through event subscribers on run-time
Happy GDPR'ing!
Forked from
This tool is a fork if robiningelbrecht/drush-gdpr-dumper.
License
This component is under the GPL2 license. See the complete license in the LICENSE file.
Other information
This project can be found from the Packagist: https://packagist.org/packages/druidfi/drush-gdpr-dumper
All versions of drush-gdpr-dumper with dependencies
druidfi/gdpr-mysqldump Version ^1.2.6
drush/drush Version ^13
drupal/core-recommended Version ^10.3 || ^11
webflo/drupal-finder Version ^1.3.0