{"id":28439081,"url":"https://github.com/ambitioneng/django-pgclone","last_synced_at":"2026-03-11T01:01:39.737Z","repository":{"id":49549913,"uuid":"275429842","full_name":"AmbitionEng/django-pgclone","owner":"AmbitionEng","description":"Dump and restore Postgres databases with Django.","archived":false,"fork":false,"pushed_at":"2025-11-30T23:28:29.000Z","size":483,"stargazers_count":51,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-01-15T21:38:28.479Z","etag":null,"topics":["django","pgdump","pgrestore","postgresql"],"latest_commit_sha":null,"homepage":"https://django-pgclone.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AmbitionEng.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"wesleykendall"}},"created_at":"2020-06-27T18:20:11.000Z","updated_at":"2025-11-30T23:27:46.000Z","dependencies_parsed_at":"2024-08-26T01:08:46.227Z","dependency_job_id":"90e39a55-716c-4f23-94f5-2b43c7c21c8e","html_url":"https://github.com/AmbitionEng/django-pgclone","commit_stats":{"total_commits":33,"total_committers":5,"mean_commits":6.6,"dds":0.5757575757575757,"last_synced_commit":"d4dc17cbbbc4ba11aa17efaa6e730b9d3f09d648"},"previous_names":["ambitioneng/django-pgclone","opus10/django-pgclone"],"tags_count":31,"template":false,"template_full_name":null,"purl":"pkg:github/AmbitionEng/django-pgclone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmbitionEng%2Fdjango-pgclone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmbitionEng%2Fdjango-pgclone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmbitionEng%2Fdjango-pgclone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmbitionEng%2Fdjango-pgclone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AmbitionEng","download_url":"https://codeload.github.com/AmbitionEng/django-pgclone/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmbitionEng%2Fdjango-pgclone/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30364604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"ssl_error","status_checked_at":"2026-03-10T21:40:59.357Z","response_time":106,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["django","pgdump","pgrestore","postgresql"],"created_at":"2025-06-06T02:06:39.525Z","updated_at":"2026-03-11T01:01:39.722Z","avatar_url":"https://github.com/AmbitionEng.png","language":"Python","funding_links":["https://github.com/sponsors/wesleykendall"],"categories":[],"sub_categories":[],"readme":"# django-pgclone\n\n`django-pgclone` makes it easy to dump and restore Postgres databases.\nHere are some key features:\n\n1. Streaming dumps and restores to configurable storage backends like S3. Instances with limited memory aren't a problem for large databases.\n2. A restoration process that works behind the scenes, swapping in the restored database when finished.\n3. Configurable hooks into the dump and restore process, for example, migrating a restored database before it is swapped.\n4. Reversible restores, making it possible to quickly revert to the initial restore or the previous database.\n5. Re-usable configurations for instrumenting different types of dumps and restores.\n\n## Quickstart\n\nTo dump a database, do:\n\n    python manage.py pgclone dump\n\nTo list database dump keys, do:\n\n    python manage.py pgclone ls\n\nTo restore a datase, do:\n\n    python manage.py pgclone restore \u003cdump_key\u003e\n\nDatabase dumps are relative to the storage location, which defaults to the local file system. Dump keys are in the format of `\u003cinstance\u003e/\u003cdatabase\u003e/\u003cconfig\u003e/\u003ctimestamp\u003e.dump`.\n\nWhen listing, use an optional prefix. Restoring supports the same interface, using the latest key that matches the prefix.\n\n## Documentation\n\n[View the django-pgclone docs here](https://django-pgclone.readthedocs.io/) to learn more about:\n\n* The basics and an overview of how it works.\n* The core command docs.\n* Configuring an S3 storage backend.\n* Running management command hooks during dumping or restoring.\n* Creating restores that can be quickly reverted.\n* Re-using command parameters for different flows.\n* All settings.\n* Additional details on using AWS RDS databases.\n\n## Compatibility\n\n`django-pgclone` is compatible with Python 3.10 - 3.14, Django 4.2 - 6.0, Psycopg 2 - 3, and Postgres 14 - 18.\n\n## Installation\n\nInstall `django-pgclone` with:\n\n    pip3 install django-pgclone\n\nAfter this, add `pgclone` to the `INSTALLED_APPS` setting of your Django project.\n\n**Note**  Install the AWS CLI to enable the S3 storage backend. Use `pip install awscli` or follow the [installation guide here](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html).\n\n## Contributing Guide\n\nFor information on setting up `django-pgclone` for development and contributing changes, view [CONTRIBUTING.md](CONTRIBUTING.md).\n\n## Primary Authors\n\n- @wesleykendall (Wes Kendall)\n- @ethanpobrien (Ethan O'Brien)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fambitioneng%2Fdjango-pgclone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fambitioneng%2Fdjango-pgclone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fambitioneng%2Fdjango-pgclone/lists"}