{"id":18978250,"url":"https://github.com/autodesk/pgbelt","last_synced_at":"2026-02-11T21:05:52.925Z","repository":{"id":60806455,"uuid":"511243198","full_name":"Autodesk/pgbelt","owner":"Autodesk","description":"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.","archived":false,"fork":false,"pushed_at":"2025-04-14T13:50:47.000Z","size":1731,"stargazers_count":20,"open_issues_count":16,"forks_count":7,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-14T14:56:06.300Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Autodesk.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"code-of-conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-06T18:03:58.000Z","updated_at":"2025-04-14T13:50:50.000Z","dependencies_parsed_at":"2023-10-14T14:02:14.606Z","dependency_job_id":"3a21b627-5534-47f8-a56a-9582670dc64e","html_url":"https://github.com/Autodesk/pgbelt","commit_stats":null,"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Autodesk%2Fpgbelt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Autodesk%2Fpgbelt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Autodesk%2Fpgbelt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Autodesk%2Fpgbelt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Autodesk","download_url":"https://codeload.github.com/Autodesk/pgbelt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248988977,"owners_count":21194507,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T15:32:45.849Z","updated_at":"2026-01-06T01:13:28.696Z","avatar_url":"https://github.com/Autodesk.png","language":"Python","readme":"# Pgbelt\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://github.com/Autodesk/pgbelt/blob/main/pgbelt.png?raw=true\" width=\"400\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/autodesk/pgbelt\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/last-commit/autodesk/pgbelt\" alt=\"Latest Commit\"\u003e\n    \u003c/a\u003e\n    \u003cimg src=\"https://github.com/Autodesk/pgbelt/actions/workflows/ci.yml/badge.svg\"\u003e\n    \u003ca href=\"http://www.apache.org/licenses/LICENSE-2.0\" target=\"_blank\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/license/Autodesk/pgbelt\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\nPgBelt is a CLI tool used to manage Postgres data migrations from beginning to end,\nfor a single database or a fleet, leveraging pglogical replication.\n\nIt was built to assist in migrating data between postgres databases with as\nlittle application downtime as possible. It works in databases running different versions\nof postgres and makes it easy to run many migrations in parallel during a single downtime.\n\n| :exclamation: This is very important                                                                                                            |\n| :---------------------------------------------------------------------------------------------------------------------------------------------- |\n| 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 |\n\n## Installation\n\n### Install From PyPi\n\nIt is recommended to install pgbelt inside a virtual environment:\n\n- [pyenv](https://github.com/pyenv/pyenv)\n- [pyenv-virtualenv](https://github.com/pyenv/pyenv-virtualenv)\n\nYou must also have:\n\n- Postgres Client Tools (pg_dump, pg_restore). Mac: `brew install libpq`. Ubuntu: `sudo apt-get install postgresql-client`\n\nInstall pgbelt locally:\n\n    pip3 install pgbelt\n\n## Quickstart with Pgbelt\n\nSee [this doc](docs/quickstart.md)!\n\n## Playbook\n\nThis playbook gets updated actively. If you have any issues, solutions could be found in [this playbook](docs/playbook.md).\n\n## Contributing\n\nWe welcome contributions! See [this doc](CONTRIBUTING.md) on how to do so, including setting up your local development environment.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautodesk%2Fpgbelt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fautodesk%2Fpgbelt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautodesk%2Fpgbelt/lists"}