Sign inSign up

ssensini/pgsql-backup

By ssensini

•Updated over 3 years ago

Image to backup a Postgres instance. Tested on Kubernetes.

Image
0

214

ssensini/pgsql-backup repository overview

⁠Description

Super easy and rudimental image to backup a Postgres instance. Tested on Kubernetes.

⁠Version

  • Postgres:v11

⁠Usage

docker pull ssensini/pgsql-backup docker run -v /d/backup:/pg_backup $DOCKER_USER/postgres-back-up

By default, it will look for a local instance of Postgres on port 5432 using the user postgres with password password. Feel free to change these information using the env variables.

Available environment variables are:

  • PGHOST: by default 'localhost'
  • PGPORT: by default '5432'
  • PGDATABASE: by default 'postgres'
  • PGUSER: by default 'postgres'
  • PGPASSWORD: by default 'password'

Tag summary

Content type

Image

Digest

sha256:6ca7cc84a…

Size

19.3 MB

Last updated

over 3 years ago

docker pull ssensini/pgsql-backup