DBSafeDump CLI Tool

1.0.4 · active · verified Wed Apr 22

DBSafeDump is a command-line interface (CLI) tool designed for securely dumping and anonymizing database data to ensure compliance with privacy regulations like GDPR. Currently at version 1.0.4, the package enables users to export databases with automatic sensitive data masking, migrate data between environments while anonymizing, and even scrub existing databases in-place. Its key differentiators include deterministic masking for consistent test data, support for multiple database types (MySQL, PostgreSQL, MSSQL, SQLite), and intelligent discovery of sensitive columns. It operates on a freemium model, with a free tier limited to 1,000 rows per table and paid tiers offering advanced features like unlimited rows, in-place scrubbing, and CI/CD integration. The tool is developed with a focus on automation and integration into CI/CD pipelines, requiring Node.js 18+ for execution. While the free tier works offline, paid licenses require periodic online verification through a device fingerprint.

Common errors

Warnings

Install

Imports

Quickstart

This quick start demonstrates global installation, initial configuration, connection testing, and performing a basic database dump with anonymization.

npm install -g dbsafedump

dbsafedump init
# Follow interactive prompts to configure database connections

dbsafedump test-connection
# Verify database connection

dbsafedump dump -o anonymized_data.sql
# Dumps the configured database with anonymization to a SQL file

view raw JSON →