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)
| 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
|