Skip to content
This repository has been archived by the owner on Apr 29, 2019. It is now read-only.
/ postgres-s3 Public archive

Schedule backup PostgreSQL database to S3 compatible storage.

License

Notifications You must be signed in to change notification settings

joshava/postgres-s3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

postgres-s3

License Travis CI Docker Pull Docker Star Docker Size Docker Layer

Schedule backup PostgreSQL database to S3 compatible storage.

Usage

version: "3"

services:
  postgres:
    image: postgres
    environment:
      POSTGRES_DB: db
      POSTGRES_USER: abc
      POSTGRES_PASSWORD: abc
  backup:
    image: joshava/postgres-s3
    environment:
      POSTGRES_HOST: postgres
      POSTGRES_DATABASE: db
      POSTGRES_USER: abc
      POSTGRES_PASSWORD: abc
      S3_ACCESS_KEY: <YOUR_KEY>
      S3_ACCESS_SECRET: <YOUR_SECRET>
      S3_BUCKET: <YOUR_BUCKET>
      S3_REGION: sfo2
      S3_ENDPOINT: https://sfo2.digitaloceanspaces.com
      S3_PREFIX: db
      PERIOD: "* 0 * * *"
      RUN: "true"

About

Schedule backup PostgreSQL database to S3 compatible storage.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published