Skip to main content

Wrapper around psql and pg_dump to make it easier to backup/restore a PostgreSQL database

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
dump-0.0.5.tar.gz (6.2 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page