This project is not covered by Drupal’s security advisory policy.

Safely delete content entities and truncate database tables with flexible protection rules.

Features

  • Entity deletion: delete nodes, users, taxonomy terms, media via Entity API (fires hooks)
  • Fast table truncation: clear logs, sessions, cache tables using direct SQL
  • Protection rules: protect specific entities, user roles, or field values from deletion
  • Drush commands: db:wipe-entities, dbw:truncate, dbw:info with --dry-run support
  • Admin UI: visual interface with preview mode and confirmation steps
  • Event system: subscribe to before/after events for custom logic

Use DB Wipe when you need to:

  • Clean up test content before going live
  • Clear logs and sessions for performance
  • Reset development/staging environments
  • Bulk delete content while protecting critical data

Project information

Releases