ueberbit/drush-gdpr-dump
Maintainers
Package info
github.com/ueberbit/drush-gdpr-dump
Type:drupal-drush
pkg:composer/ueberbit/drush-gdpr-dump
Requires
- drush/drush: ^13.7.3
- smile/gdpr-dump: ^5.x-dev
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
Unknown License 0e471fe0bd0d9babe4eca363c65d0b193fde6f1b
This package is auto-updated.
Last update: 2026-06-12 10:45:48 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
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
