Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Usage Milestone: Time Field for Drupal 8+ Module time_field crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

DB Anonymizer Config Generator

1 sites Security covered Drupal 9–11
View on drupal.org

This module generates configuration for the DB Anonymizer tool, which helps create anonymized database copies of your live site. This allows you to export a smaller subset of your data, protecting sensitive information while still enabling debugging and development. You can configure the percentage of data to export and handle related data across tables.

This is a DB Anonymizer config generator for drupal sites. DB Anonymizer is a tool that can:

  1. Do full/partial data export from database.
  2. Anonymize data on the fly during the export.

Why do I need it?

Have you ever faced some issues that require you to copy a DB from live site to your local site to debug and fix it? In some cases this may be not a straight forward task, because:

  • Live DB may take dozens GBs of space.
  • It may contain some sensitive data that developers should never see, e.g: real names, passport numbers, phone numbers, etc.

Using DB Anonymizer you can create a partial DB dump that has for example 5% of actual data and anonymize it. And yes - if some table has related data in other tables, it could be exported as well. You can configure the amount of data to export for each table.

Usage

  1. Install and enable this module as usual.
  2. Go to /admin/dbanonymizer-config-generator page, where you can copy generated config for your site.

Keep in mind that you may still need to change this config to fit your needs, but this would be a good starting point as generator had done all the hard lifting for you. Think of some custom db tables (and their relations) that your site may have, consider adding them to the config as well. You might also want to add anonymization config for some tables (e.g. fields).

Then you can use that config as usual, see DB Anonymizer readme for more details.
Also check this module readme for some highlights.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Oct 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 3
Maintenance
Slowing

Release Timeline

Releases

Version Type Core Release date
1.1.3 Stable 9–11 Jun 14, 2025
1.1.2 Stable Oct 10, 2024
7.x-1.2 Stable Oct 10, 2024