MongoDB Schema Change Management & Migration Tool
Version-controlled MongoDB database management - Export, import, and migrate MongoDB collections and indexes in your CI/CD pipeline
DocuFlow is a powerful command-line tool for MongoDB schema change management and database state management through file-based workflows. It enables database-as-code practices by storing schemas, indexes, and migrations in version control.
Track database schemas, indexes, and seed data in Git. Review database changes through pull requests just like application code.
Apply controlled changes across environments. Handle schema evolution with confidence and traceability.
Transform data using MongoDB aggregation pipelines. Powerful and flexible data transformation capabilities.
Keep development, staging, and production in sync with file-based state management.
Export filtered datasets with custom queries. Perfect for creating test data or partial backups.
Supports Linux, Windows, macOS (Intel & ARM)
chmod +x docuflow)docuflow status mongodb://localhost:27017/mydb
docuflow export mongodb://localhost:27017/mydb -c users
This creates files like: 638730123456789.upsert.users-0.json
docuflow export mongodb://localhost:27017/mydb -c users -q '{"status":"active"}'
docuflow export mongodb://localhost:27017/mydb -c users --indexes
This creates files like: 638730123456789.ensure-indexes.users.json
docuflow import mongodb://localhost:27017/mydb
DocuFlow automatically detects file types, tracks imported files, skips duplicates, and handles indexes and migrations.
Track and apply MongoDB schema changes across environments. DocuFlow enables database-as-code practices by storing schemas, indexes, and migrations in version control. Review database changes through pull requests just like application code.
Incorporate DocuFlow into your continuous integration and deployment pipeline for automated database updates. Perfect for GitOps workflows and infrastructure as code practices.
# Export production data with filter
docuflow export mongodb://prod:27017/app -c users -q '{"role":"admin"}'
# Commit to git
git add *.json
git commit -m "Update config data"
# Deploy to staging
docuflow import mongodb://staging:27017/app
Streamline MongoDB operations with file-based state management. Handle index changes, data migrations, and environment synchronization as part of your DevOps workflow.
# Export production data with filter
docuflow export mongodb://prod:27017/app -c users -q '{"role":"admin"}'
# Import to local database
docuflow import mongodb://localhost:27017/app-dev
Localhost connections are always free - no license required for development and testing!
DocuFlow requires a license for non-localhost MongoDB hosts. Place your license file (e.g., db.example.com-a3f9.license) in the same directory as the executable.
Ready for production?