Skip to main content

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

Latest Commit

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!

Contributing

We welcome contributions! See this doc on how to do so, including setting up your local development environment.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pgbelt-0.3.0.tar.gz (28.4 kB view details)

Uploaded Source

Built Distribution

pgbelt-0.3.0-py3-none-any.whl (36.3 kB view details)

Uploaded Python 3

File details

Details for the file pgbelt-0.3.0.tar.gz.

File metadata

  • Download URL: pgbelt-0.3.0.tar.gz
  • Upload date:
  • Size: 28.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for pgbelt-0.3.0.tar.gz
Algorithm Hash digest
SHA256 d804faca9c09906000546c60eb833d6d34b2f945966066b913bc941a4921f485
MD5 b7178f69b8f690bc2b46f26ac4f853f0
BLAKE2b-256 50f8d1cdea4581c5f8afe5dadedba4a098d65196672eebd9ed9e580d0188f6de

See more details on using hashes here.

File details

Details for the file pgbelt-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: pgbelt-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 36.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for pgbelt-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cba20ee9b8994c55a48724297f79894f39bc8b4a8822ba6562626c91f90b0487
MD5 a806ef8c84d6574194c77895d422b415
BLAKE2b-256 5105490d870eba23e95d97f10c5c568d3f4fdb2db0e8f07b2edb0d417460f6fe

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page