Skip to content
FathiQPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

pgbackup

CLI for backup remote PostgreSQL database either locally or to S3

Preparing the Development

  1. Ensure pip and pipenv are installed.
  2. Clone repository: git clone git@github.com:FathiQ/pgbackup
  3. cd into the repository
  4. Fetch development dependancies make install
  5. Activate virtualenv: pipenv shell

Usage

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

S3 Example w/ bucket name:

$ pgbackup postgres://bob@example.com:5432/db_one --driver s3 backups

Local Example w/ local path:

$ pgbackup postgres://bob@example.com:5432/db_one --driver local /var/local/db_one/backups

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

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors