CLI to download databases with separated configuration for structure and data, to exclude tables, limit data and/or replace special values in the export. Specialized in export databases to fit the rules of GDPR and keep the filesize small. Less storage, less energy :)
CLI to download databases with separated configuration for structure and data, to exclude tables, limit data and/or replace special values in the export.
Specialized in export databases to fit the rules of GDPR and keep the filesize small. Less storage, less energy 😃
chmod +x custom-database-export.phar
and (optional) create a alias for the execution (e.g. if you need a special PHP version)custom-database-export init
to create the configuration file incl. the documentationcustom-database-export
(optional --configuration
argument for the configuration file path - default: custom-database-export.yaml
)Check custom-database-export.yaml
after the init process. The base file is a copy of this yaml.
Use druidfi/mysqldump-php for export the information and symfony yaml & console component for configuration and CLI management. Override value information with Faker (only en_US locale is part of the phar file) and pack the phar with humbug/box.
Feel free to send contributions via GitHub.