Skip to main content

Dump

Python wrapper around psql and pg_dump to make it easier to backup/restore a PostgreSQL database.

Backup

You backup per table:

$ dump backup --dbname=... --username=...  --password=... --dir=/some/base/path table1 table2 ...

Restore

You can restore the entire backup directory:

$ dump restore --dbname=... --username=...  --password=... --dir=/some/base/path

Install

Use pip:

$ pip install dump

to install the latest and greatest:

$ pip install --upgrade git+https://github.com/Jaymon/dump#egg=dump

Release files for dump 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dump 0.0.5
File Size Uploaded
dump-0.0.5.tar.gz 6.2 kB Details

Release files / dump-0.0.5.tar.gz

Download URL dump-0.0.5.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7818429bb03a9fe826af18af2d6f0be0db9d9c65518accff04295f501dc620c9
BLAKE2b-256 checksum
How to use checksums
40efe152e22adadea9b37e52614482bf8cf5cef14336966457cc1d892d049e2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/2.7

Release history Release notifications | RSS feed

This release

0.0.5 This release

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page