Giter Site home page Giter Site logo

postgres-s3backup's Introduction

postgres-s3backup

Alpine image with aws-cli, gpg, bzip2, psql and backup script

backup_databases

Backup postgres databases, compress the backup, optionally encrypt it with pgp and store the resulting blob in S3. Each database will be stored to a separate S3 object.

Environment variables

Variable Description
DB_REGEX Filter the databases to backup, eg (dbname[1-3])
DAYS_TO_KEEP Remove backups older than this many days
PGUSER, PGHOST, PGPORT, PGPASSWORD Connection parameters for pg_dump
GPG_RECIPIENT User to encrypt content to. Should match public key (see below)
AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY Connection credentials to S3
S3_ENDPOINT S3 endpoint server (eg https://s3-de-central.profitbricks.com)
S3_BASEURL S3 bucket name and optional leading path (eg `s3://my-basket/backups/database/

Volumes

Path Description
/mnt/backup-public-key.asc Public key to encrypt the backup to

postgres-s3backup's People

Contributors

renovate-bot avatar rwunderer avatar

Watchers

 avatar

postgres-s3backup's Issues

Dependency Dashboard self-hosted

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Repository problems

Renovate tried to run on this repository, but found these problems.

  • WARN: Use matchDepNames instead of matchPackageNames

This repository currently has no open or pending branches.

Detected dependencies

dockerfile
Dockerfile
  • alpine 3.20@sha256:b89d9c93e9ed3597455c90a0b88a8bbb5cb7188438f70953fede212a0c4394e0
github-actions
.github/workflows/ghcr-publish.yml
  • actions/checkout v4.1.7@692973e3d937129bcbf40652eb9f2f61becf3332
  • sigstore/cosign-installer v3.5.0@59acb6260d9c0ba8f4a2f9d9b48431a222b68e20
  • docker/setup-buildx-action v3.4.0@4fd812986e6c8c2a69e18311145f9371337f27d4
  • docker/login-action v3.2.0@0d4c9c5ea7693da7b068278f7b52bda2a190a446
  • docker/metadata-action v5.5.1@8e5442c4ef9f78752691e2d8f8d19755c6f78e81
  • docker/build-push-action v6.4.0@a254f8ca60a858f3136a2f1f23a60969f2c402dd
  • aquasecurity/trivy-action 0.24.0@6e7b7d1fd3e4fef0c5fa8cce1229c54b2c9bd0d8
  • github/codeql-action v3@4fa2a7953630fd2f3fb380f21be14ede0169dd4f
  • aquasecurity/trivy-action 0.24.0@6e7b7d1fd3e4fef0c5fa8cce1229c54b2c9bd0d8
regex
.github/workflows/ghcr-publish.yml
  • cosign v2.2.4

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.