{"repo":"AmbitionEng/django-pgclone","free":true,"listed":false,"github":"https://github.com/AmbitionEng/django-pgclone","clone":"git clone https://github.com/AmbitionEng/django-pgclone.git","description":"Dump and restore Postgres databases with Django.","language":"Python","stars":54,"topics":["django","postgresql","pgdump","pgrestore"],"license":"BSD-3-Clause","category":"databases-storage","readme_excerpt":"django-pgclone django-pgclone makes it easy to dump and restore Postgres databases. Here are some key features: 1. Streaming dumps and restores to configurable storage backends like S3. Instances with limited memory aren't a problem for large databases. 2. A restoration process that works behind the scenes, swapping in the restored database when finished. 3. Configurable hooks into the dump and restore process, for example, migrating a restored database before it is swapped. 4. Reversible restores, making it possible to quickly revert to the initial restore or the previous database. 5. Re-usable configurations for instrumenting different types of dumps and restores. Quickstart To dump a database, do: python manage.py pgclone dump To list database dump keys, do: python manage.py pgclone ls To restore a datase, do: python manage.py pgclone restore Database dumps are relative to the storage location, which defaults to the local file system. Dump keys are in the format of / / / .dump . When listing, use an optional prefix. Restoring supports the same interface, using the latest key that matches the prefix. Documentation View the django-pgclone docs here to learn more about: The basics and an overview of how it works. The core command docs. Configuring an S3 storage backend. Running management command hooks during dumping or restoring. Creating restores that can be quickly reverted. Re-using command parameters for different flows. All settings. Additional details on using AWS RDS ","default_branch":null,"files":null,"tree":[],"storefront":"/r/AmbitionEng","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/AmbitionEng/django-pgclone/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}