Skip to content

joshsumption/pgbackup2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pgbackup

CLI for backing up remote PostgreSQL databases locally and with AWS S3.

Preparing for Development

  1. Ensure pip, and pipenv are installed.
  2. Clone repository: git clone git@github.com:joshsumption/pgbackup2.git
  3. Fetch development dependencies: make install

Usage:

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

S3 Example w/ bucket name:

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

Local Example w/ local path:

$ pgbackup postgres://user@example.com:5432/db_one --driver local /var/local/db_one/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

LinuxAcademyPgBackup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors