Dump Postgres Roles Grants
Project description
Dump Postgres Roles and Grants
Build
docker buildx build -t dump_psql_roles_grants .
Usage
-
Place instances connection info to
_inputs
dir_inputs/ ├── dev.yaml ├── prod.yaml ├── stage.yaml └── test.yaml
File format: yaml or json
<INSTANCE NAME 1>: dbname: <DB TO CONNECT> host: <INSTANCE HOSTNAME> password: <PASSWORD> user: <USER NAME> <INSTANCE NAME X>: dbname: <DB TO CONNECT> host: <INSTANCE HOSTNAME> password: <PASSWORD> user: <USER NAME>
-
Review
config.yaml
-
Run
docker run -it --rm -v ${PWD}/_inputs:/app/_inputs -v ${PWD}/_results:/app/_results dump_psql_roles_grants -- --help
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for dump_psql_roles_grants-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e47318f100fda51c39024334abb542479cd543c2b3ea0916deef34c59a1972fc |
|
MD5 | cc7dea7994b53193f8befe77a6a5609e |
|
BLAKE2b-256 | 2df8c5714b8e889bc045d5cadc2c759e9f8f4214fb7ff7fc7517f9293aa4af29 |
Close
Hashes for dump_psql_roles_grants-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61a72ba5e3d6c13d103597f8fd7eb15be840ecc884ad74b7f49619410ba76c23 |
|
MD5 | da401833fbc4e9bf971db91ea5a399fe |
|
BLAKE2b-256 | bf134453251f9a4840e567a635e0a198d9fcb7b61ea5bfbb3b6b225b91f47a01 |