ueberbit / drush-gdpr-dump
There is no license information available for the latest version (1.x-dev) of this package.
Package info
github.com/ueberbit/drush-gdpr-dump
Type:drupal-drush
pkg:composer/ueberbit/drush-gdpr-dump
1.x-dev
2026-05-12 10:44 UTC
Requires
- drush/drush: ^13.7.3
- smile/gdpr-dump: ^5.x-dev
This package is auto-updated.
Last update: 2026-05-12 10:44:40 UTC
README
Prerequisites
Installation of gdpr-dump
This package depends on a fork of gdpr-dump. The relevant dependency updates are not yet merged into the original repository.
Add the fork to your composer.json before installing ueberbit/drush-gdpr-dump package.
"repositories": [
{
"type": "vcs",
"url": "https://github.com/webflo/gdpr-dump.git"
}
],
See Smile-SA/gdpr-dump#200 for more details.
Patch for Drush
drush-ops/drush#6524 committed to drush 13.x - released in 13.7.3
Installation
composer require ueberbit/drush-gdpr-dump
Configuration
Add the gdpr-dump configuration to your project. It uses the same configuration as the original gdpr-dump.
see https://github.com/Smile-SA/gdpr-dump/wiki/Configuration-File
# Filename: gdpr-config.yaml # https://github.com/Smile-SA/gdpr-dump/wiki/Configuration-File extends: 'drupal8' tables: authmap: truncate: true batch: truncate: true captcha_sessions: truncate: true comment_field_data: converters: hostname: converter: 'setNull' users_data: where: 'module <> "openid_connect" and name <> "oidc_name"' users_field_data: converters: mail: converter: 'randomizeEmail' unique: true pass: converter: 'randomizeText' init: converter: 'setNull' # Skip anonymization for users registered with ueberbit.de email domain. skip_conversion_if: 'str_ends_with((string) {{mail}}, "@ueberbit.de")' watchdog: truncate: true
Usage
# Dump sanitized database dump.
./vendor/bin/drush gdpr:dump > sanitized-dump.sql