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

Uploaded Source

Built Distribution

pgbelt-0.1.1-py3-none-any.whl (35.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pgbelt-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ab45312015146ec92355cd8166dcbb877412e0074b3b7178e120844bcfe28770
MD5 df9da83bbb9af8d470e466b12bb6db83
BLAKE2b-256 f204cfe2b80f84a662f63bbfe49f5029089e13019add86700dbce5bddeccda7a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pgbelt-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1411047b0d1d023b3ad68819165860d91733bd6bc167bda0ae715cea0360fd7d
MD5 640e37cf71b5af7d7211e0609105bdc2
BLAKE2b-256 d40dbb421452e0b6640ed6731cbf4dd0b80abfd2764cb2823935282994f4d195

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