GitHub - Jaymon/dump: Python wrapper around psql and pg_dump to make it easier to backup/restore a PostgreSQL database

Skip to content

Navigation Menu

Sign in

Appearance settings

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:

to install the latest and greatest:

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

About

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

Topics

Resources

Readme

License

MIT license

Activity

Stars

14 stars

Watchers

2 watching

Forks

3 forks