Dump Postgres Roles and Grants
Project description
Dump Postgres Roles and Grants
Install
You can choose
- plain python package
dump-psql-roles-grantsthat requireslibpqsystem library - or package
dump-psql-roles-grants[binary]that have binaries included
pipx (preferred)
pipx install 'dump-psql-roles-grants[binary]'
dump_psql_roles_grants --help
brew
brew install rgeraskin/homebrew/dump-psql-roles-grants
dump_psql_roles_grants --help
pip
pip install 'dump-psql-roles-grants[binary]'
python -m dump_psql_roles_grants --help
docker
docker pull rgeraskin/dump_psql_roles_grants
docker run --name dump_psql_roles_grants --rm rgeraskin/dump_psql_roles_grants --help
Usage
-
Generate an example config file
dump_psql_roles_grants gen-example-config -o config.yaml -
Place instances connection info to
_inputsdir_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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dump_psql_roles_grants-0.3.1.tar.gz.
File metadata
- Download URL: dump_psql_roles_grants-0.3.1.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.2 Linux/6.5.0-1017-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0aa661a9e3783ed06d407c5a45f8ff1245d9be27d09c232170e17373a96a3f44
|
|
| MD5 |
23bd69f77ca96e6e19d174ad340be52e
|
|
| BLAKE2b-256 |
02124b600dba2d3721faae5695346f16e2e53906514de6078795115b20e22f55
|
File details
Details for the file dump_psql_roles_grants-0.3.1-py3-none-any.whl.
File metadata
- Download URL: dump_psql_roles_grants-0.3.1-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.2 Linux/6.5.0-1017-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca8a20b0cee250a5ee47f89e0c98c3e52b87567df1a03a2f68aa5c67c13ab4bc
|
|
| MD5 |
ff4783d2ebc4afc7622a91dd99225f30
|
|
| BLAKE2b-256 |
a1523b02217920c9309a3036fa8e85de3fa17953e17912aedf690b759bd4bbba
|