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

Uploaded Source

Built Distribution

pgbelt-0.6.1-py3-none-any.whl (37.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pgbelt-0.6.1.tar.gz
  • Upload date:
  • Size: 29.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for pgbelt-0.6.1.tar.gz
Algorithm Hash digest
SHA256 d4d57e6c0accce5db358cd3f7220c2275c4895c36fd6d693d257987a38462d7b
MD5 50f083a8da666433f5eee4ba895cbe4c
BLAKE2b-256 871357e6c63601829bd4f6c190433502d94a10d7e1b93f79aabfa6e80f98220a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pgbelt-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 37.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for pgbelt-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9c817b3c3decdf259c0850de0757e670c49698e340eb9ff67d9c93afc2ef652f
MD5 9efc3856702d8217a9867d860d7f8787
BLAKE2b-256 793f9c841f97d91d8a3781c964bb2c137b43f3b3ded3bc9181ce9f5a4b4644d0

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