DRM-CLI is an open-source command-line tool developed by d-band for managing and automating database deployments across multiple environments.
🔗 GitHub Repository: https://github.com/dband-drm/drm-cli
DRM-CLI simplifies the lifecycle of database change management — from building a deployment package to executing and tracking releases across target environments.
Key features:
- Supports SQLite, MSSQL, PostgreSQL, and Oracle databases
- Encrypted deployment packages for secure credential handling
- DryRun, Deploy, and Align execution modes
- Integration with Liquibase, Flyway, and SqlPackage
- Structured logging with rotation and configurable verbosity
- JSON and SQLite data-store options for release tracking
- Python 3.8+
- pip
-
Clone the repository:
git clone https://github.com/dband-drm/drm-cli.git cd drm-cli -
Install DRM into a target directory:
python install.py
Follow the interactive prompts to choose the installation path, data-store type (JSON or SQLite), and an optional encryption key.
Silent install (non-interactive):
python install.py -f /path/to/install -d sqlite -p MySecretKey
If a DRM installation already exists at the target path, the installer automatically switches to upgrade mode. You can also force a silent upgrade:
python install.py -f /path/to/installAfter installation, navigate to your DRM directory and run deployments using the drm_deploy.py script:
cd /path/to/drm
python drm_deploy.py --mode Deploy
python drm_deploy.py --mode DryRun
python drm_deploy.py --mode AlignEnable verbose/trace logging with the --trace flag:
python drm_deploy.py --mode Deploy --traceContributions are welcome! Please open an issue or submit a pull request on the GitHub repository.
- Fork the repo
- Create a feature branch (
git checkout -b feature/your-feature) - Commit your changes (
git commit -m 'Add your feature') - Push to the branch (
git push origin feature/your-feature) - Open a Pull Request
Copyright (C) 2023 d-band — All Rights Reserved.
See LICENSE for details.


