postgres-backup (sha256:6800fb3de6ec4c39f6ce30411066e6a373cef27d89686a5603709e3bdce70524)

Published 2026-02-15 07:08:58 +00:00 by clement in images/postgres

Installation

docker pull git.breis.ch/images/postgres-backup@sha256:6800fb3de6ec4c39f6ce30411066e6a373cef27d89686a5603709e3bdce70524
sha256:6800fb3de6ec4c39f6ce30411066e6a373cef27d89686a5603709e3bdce70524

About this package

Scheduled PostgreSQL backups with compression and retention

Image layers

bazel build @trixie//base-files/amd64:data_statusd
bazel build @trixie//netbase/amd64:data_statusd
bazel build @trixie//tzdata/amd64:data_statusd
bazel build @trixie//media-types/amd64:data_statusd
bazel build //common:rootfs
bazel build //common:passwd
bazel build //common:home
bazel build //common:group
bazel build //common:tmp
bazel build //static:nsswitch
bazel build //common:os_release_debian13
bazel build //common:cacerts_debian13_amd64
bazel build @trixie//libc6/amd64:data_statusd
bazel build @trixie//libssl3t64/amd64:data_statusd
bazel build @trixie//libzstd1/amd64:data_statusd
bazel build @trixie//zlib1g/amd64:data_statusd
ARG POSTGRESQL_VERSION
ARG DEBIAN_MAJOR_VERSION
ARG IMAGE_TITLE
ARG IMAGE_DESCRIPTION
ARG IMAGE_VENDOR
ARG IMAGE_SOURCE
ARG IMAGE_LICENSES
ARG IMAGE_FEATURES
ARG TARGETARCH
LABEL org.opencontainers.image.title=PostgreSQL Backup Sidecar org.opencontainers.image.description=Scheduled PostgreSQL backups with compression and retention org.opencontainers.image.vendor=BEXSYS org.opencontainers.image.source=https://git.breis.ch/images/postgres org.opencontainers.image.licenses=MIT org.opencontainers.image.base.name=gcr.io/distroless/base-debian13:nonroot postgresql.version=18 image.arch= image.features=backup,cron-scheduling,compression,encryption,webhooks
COPY /extract/usr/lib/postgresql /usr/lib/postgresql # buildkit
COPY /extract/usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu # buildkit
COPY /extract/lib/x86_64-linux-gnu /lib/x86_64-linux-gnu # buildkit
COPY /extract/usr/lib/aarch64-linux-gnu /usr/lib/aarch64-linux-gnu # buildkit
COPY /extract/lib/aarch64-linux-gnu /lib/aarch64-linux-gnu # buildkit
COPY /extract/etc/ssl/certs /etc/ssl/certs # buildkit
COPY /tmp/backup-scheduler /backup-entrypoint # buildkit
COPY /tmp/sidecar-backup /usr/bin/sidecar-backup # buildkit
COPY /tmp/sidecar-restore /usr/bin/sidecar-restore # buildkit
COPY /tmp/backup-scheduler /bin/sh # buildkit
COPY /tmp/backups /backups # buildkit
ENV BACKUP_DIR=/backups BACKUP_SCHEDULE=0 2 * * * BACKUP_COMPRESSION=zstd BACKUP_COMPRESSION_LEVEL=3 BACKUP_KEEP_LAST=10 LOG_LEVEL=info LANG=C.UTF-8 LC_ALL=C.UTF-8 PATH=/usr/lib/postgresql/18/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HEALTHCHECK &{["CMD" "/backup-entrypoint" "--health-check"] "1m0s" "5s" "10s" '\x03'}
USER 65532:65532
ENTRYPOINT ["/backup-entrypoint"]

Labels

Key Value
image.arch
image.features backup,cron-scheduling,compression,encryption,webhooks
org.opencontainers.image.base.name gcr.io/distroless/base-debian13:nonroot
org.opencontainers.image.description Scheduled PostgreSQL backups with compression and retention
org.opencontainers.image.licenses MIT
org.opencontainers.image.revision fcc6ce682815511b1c08fa82c065ea28d3f474ea
org.opencontainers.image.source https://git.breis.ch/images/postgres
org.opencontainers.image.title PostgreSQL Backup Sidecar 18
org.opencontainers.image.vendor BEXSYS
org.opencontainers.image.version 18
postgresql.version 18
Details
Container
2026-02-15 07:08:58 +00:00
1
OCI / Docker
linux/amd64
MIT
22 MiB
Versions (10) View all
buildcache-18 2026-02-15
staging-18 2026-02-15
buildcache-16 2026-02-15
buildcache-17 2026-02-15
staging-17 2026-02-15