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.2.2.tar.gz (27.5 kB view details)

Uploaded Source

Built Distribution

pgbelt-0.2.2-py3-none-any.whl (35.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pgbelt-0.2.2.tar.gz
Algorithm Hash digest
SHA256 b40f4ce0e09db054624457d744ec8621d0a3e7696e810f39f081e8d6b922c6d2
MD5 1f68cb0cd0da9a098f2d3643ea8f4f4a
BLAKE2b-256 04a15bb7bcacf23d0c6d28ec0a308c4ca414b1a95aed775939cd00385e544dd0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pgbelt-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 89dd6f036832d71444c459036f7efca86076b162033c30be6e3a1620a599d147
MD5 e8f0d0bbda5d918e85e2cf43b7a0f100
BLAKE2b-256 f52fd3e69f4aede0596b6b36a66053aafc1f9627c1d27e0f9942ed7825e09e2a

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