Sign inSign up

gatblau/dbman-snapshot

By gatblau

•Updated about 6 years ago

Micro-service to track, manage and apply database schema changes, backups etc

Image
0

50K+

gatblau/dbman-snapshot repository overview

⁠DbMan

DbMan is a database management command line interface written in go that can run as an http service.

DbMan can create databases and users, deploy schemas and database functions for a particular release, perform rolling upgrades and other database maintenance functions are planned. It is designed to run from a container platform such as Kubernetes (and eventually be driven by an operator) but can also be used as a command line interface similar to kubectl.

DBMan reads database scripts and release metadata from a git repository and use it to deploy/upgrade a database. It has been developed to manage the PostgreSQL database used by Onix Configuration Manager⁠.

⁠Sample database scripts

For an example of the sort of scripts repository required by DbMan to manage a database, take a look at the one used by Onix here⁠.

For an example of using this image to deploy a database see here⁠.

⁠Configuration

If running in a container, DBMan is configured through environment variables. The description of configuration options can be found in the project repository below.

⁠DbMan project

The source code for DbMan can be found here⁠.

⁠Database support

Currently, only PostgreSQL is supported. More database backends will be eventually supported using a plugin architecture.

Tag summary

Content type

Image

Digest

Size

78.9 MB

Last updated

about 6 years ago

docker pull gatblau/dbman-snapshot