A CLI tool used to manage Postgres data migrations from beginning to end, for a single database or a fleet, leveraging pglogical replication.
Project description
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.
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
File details
Details for the file pgbelt-0.8.0.tar.gz
.
File metadata
- Download URL: pgbelt-0.8.0.tar.gz
- Upload date:
- Size: 35.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4a0f39c48235962871f00f34fc3c4fd3c851b2aa8b6fa67e08866b3aa3736e7 |
|
MD5 | 5fed0f5749f17d1ca280292692d3af4a |
|
BLAKE2b-256 | d7fdd4055704289c05f741eea7b2ec024212bedea16c1e0a98230adb9167b8c3 |
File details
Details for the file pgbelt-0.8.0-py3-none-any.whl
.
File metadata
- Download URL: pgbelt-0.8.0-py3-none-any.whl
- Upload date:
- Size: 43.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3576907c358c11856056e7d2f1aa9364510623fbf7d9bc4a1ed60de7e124613c |
|
MD5 | 43d1b3d8c27aeb8efe9e2dff6cd12e9d |
|
BLAKE2b-256 | e2194d13df381bca8d682723506de1c252307aae80f596e87a2f3fed32664b43 |