ueberbit/drush-gdpr-dump

There is no license information available for the latest version (1.x-dev) of this package.
Maintainers

👁 webflo

Package info

github.com/ueberbit/drush-gdpr-dump

Type:drupal-drush

pkg:composer/ueberbit/drush-gdpr-dump

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.x-dev 2026-05-12 10:44 UTC

Requires

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