Pgbelt
PgBelt is a CLI tool used to manage Postgres data migrations from beginning to end, for a single database or a fleet, leveraging pglogical replication.
It was built to assist in migrating data between postgres databases with as little application downtime as possible. It works in databases running different versions of postgres and makes it easy to run many migrations in parallel during a single downtime.
| :exclamation: This is very important |
|---|
| As with all Data Migration tasks, there is a risk of data loss. Please ensure you have backed up your data before attempting any migrations |
Installation
Install From PyPi
It is recommended to install pgbelt inside a virtual environment:
You must also have:
- Postgres Client Tools (pg_dump, pg_restore). Mac:
brew install libpq. Ubuntu:sudo apt-get install postgresql-client
Install pgbelt locally:
pip3 install pgbelt
Quickstart with Pgbelt
See this doc!
Playbook
This playbook gets updated actively. If you have any issues, solutions could be found in this playbook.
Contributing
We welcome contributions! See this doc on how to do so, including setting up your local development environment.
Metadata
Release files for pgbelt 0.21.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pgbelt-0.21.2.tar.gz | 59.7 kB | Without provenance | Details for pgbelt-0.21.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pgbelt-0.21.2-py3-none-any.whl | Python 3 | none | any | Details for pgbelt-0.21.2-py3-none-any.whl |
Total release size: 134.2 kB
Release files / pgbelt-0.21.2.tar.gz
| Download URL | pgbelt-0.21.2.tar.gz |
|---|---|
| Size | 59.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6b5d033bcb47a4cf53ca8cba9a252299fd751d4a45bedf37bd6bb668f328fc88
|
|
BLAKE2b-256 checksum How to use checksums |
32e2651f3075d034aa2f353c077dcb434ab210071ff8cc471ce4065a6d10c6d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Release files / pgbelt-0.21.2-py3-none-any.whl
| Download URL | pgbelt-0.21.2-py3-none-any.whl |
|---|---|
| Size | 74.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a4a0c8c02d1322a8501f819b25eea323a6faaef76424fe2c57d6445537a3127b
|
|
BLAKE2b-256 checksum How to use checksums |
43513db9dd969c28af55d55ddf92426ac9b027617243aed43ba32eb942a2b89d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Security for pgbelt 0.21.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.