Download the PHP package acromedia/database-janitor without Composer
On this page you can find all versions of the php package acromedia/database-janitor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download acromedia/database-janitor
More information about acromedia/database-janitor
Files in acromedia/database-janitor
Package database-janitor
Short Description Database sanitizer, trimmer and scrubber.
License MPL-2.0
Informations about the package database-janitor
Initial development funded by Acro Media Inc.
Database Janitor 
Highly-configurable database dumper
Initial development funded by Acro Media Inc.
Features
- Drupal configuration support
- Configuration-first
- PHP with minimal dependencies
Usage
This application can either be used as a CLI app or a library that other applications can build on top of, e.g a drush command or another custom application.
Command Help
Testing
There is a sample Lando config you can use to spin up two separate mysql databases for testing, as well as a sample SQL file containing random data generated by Mockaroo.
Configuration
CLI
First you'll want to copy .janitor.example.yml to .janitor.yml. You can then go in and edit exactly which tables and
columns you want sanitized/ignored/cleared.
If not using the .phar, install dependencies with composer install.
Dumping
This will prompt you for the database password, then produce a gzip'd .sql file in the output/ directory.
Trimming
Trimming allows much smaller database dumps by reducing the data exported through the use of keeping data, scrubbing tables, and so on.
All versions of database-janitor with dependencies
symfony/console Version ^4.2@dev
symfony/yaml Version ^4.2@dev