ueberbit/drush-gdpr-dump
Composer 安装命令:
composer require ueberbit/drush-gdpr-dump
包简介
README 文档
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
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 9
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2026-05-11