Realistic data without exposing people
Apply explicit transformations to names, emails, addresses, tokens, identifiers, and payment-related fields before records reach the target environment.
MIT-licensed CLI - privacy-first database cloning
Clonio CLI clones production-like database data into development, test, staging, and CI while applying anonymization, schema sync, key remapping, and signed audit logs.
Run it from your terminal, Docker, Composer, or CI pipeline. No external cloud detour. No data leaves your infrastructure.
$ clonio init $ clonio connection:add production --production $ clonio cloning:dump --connection production $ clonio cloning:run production.cloning.yaml --target ci ✓ anonymization rules applied ✓ foreign keys remapped ✓ audit artefact signed
audit artefact signed
Problem solved
Give developers and QA useful database states while keeping personally identifiable values, production identifiers, and run evidence under control.
Apply explicit transformations to names, emails, addresses, tokens, identifiers, and payment-related fields before records reach the target environment.
Generate a cloning file, review it once, commit it, and rerun the same cloning path whenever a team needs fresh production-like data.
Produce signed audit artefacts and structured process logs for local storage, S3-compatible storage, email, Slack, Microsoft Teams, or ntfy.
CLI workflow
The generated YAML controls row selection, schema synchronization, anonymization strategies, and key remapping. It is safe to commit because it references connection names, not credentials.
$ clonio init $ clonio connection:add production --production $ clonio connection:add local-dev $ clonio cloning:dump --connection production $ clonio cloning:run production.cloning.yaml --target local-dev
Core capabilities
Use fake, hash, mask, null, static, or keep per column, with PII matchers to help draft a configuration you can review.
Create missing tables, add missing columns, and keep target environments aligned when production schema moves faster.
Replace primary keys with new random values and rewrite foreign keys consistently across cloned records.
Run from a standalone binary, PHAR, Composer dev dependency, Docker image, local scripts, or CI jobs.
Open source
Use Clonio CLI inside your own infrastructure, including commercial projects. Sponsorships and feature requests help keep development moving.
Support the project, request capabilities through the GitHub issue template, or inspect the source before adopting it in your workflow.