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.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3dae3c5c4fcbc5d60979ae7c62f966f1213a521f3a9f3362417828a6d1713e0 |
|
MD5 | 9728be4fcc0b466e3b1d1ab706fa874b |
|
BLAKE2b-256 | f6c4eea89e53117d14e9f136c9df336d56236ec0396898ae8c3d586e01b943ba |
Close
Hashes for dump_psql_roles_grants-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 303c1776ccd024fad2e69a2774263e48ffa5c38d9613a5c6e224c1a3a48b89e8 |
|
MD5 | 99d00be20afe83d2aa593c4029b4316e |
|
BLAKE2b-256 | cac2c5216c48f52ec904825eaa69f389031a4b66424d54a94a9ec6d7798889b0 |