Skip to content

bombay1982/pgbackup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pgbackup

CLI for backing up remote PostgreSQL databases locally or to AWS S3

Preparing for developement

  1. Endsure pip and pipenv are installed

sudo -H pip install -U pipenv pip install --user pipenv mkdir -p pgbackup cd pgbackup pipenv install --two pipenv shell(enable virt env)

  1. Clone repository: TODO provide github link
  2. Create README.rst
  3. Fetch developement dependencies: make install

Usage

Pass in a full database URL, the storage driver, and destination

S3 example with bucket name:

$ pgbackup postgres://bob@examole.com:5432/db_one --driver s3 backups/dump.sql

Running Tests:

Run tests locally using make if virtualenv is active:

::
$ make

If virtualenv isn't active then use:

::
$ pipenv run make

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published