Skip to main content

...

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

License

MIT

Project details


Download files

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

Source Distribution

dump-0.0.1.tar.gz (5.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page