# prodrigestivill/docker-postgres-backup-local

Backup PostgresSQL to local filesystem with periodic backups and rotate backups.

Repository: https://github.com/prodrigestivill/docker-postgres-backup-local
Canonical: https://ross.abutalabs.com/products/docker-postgres-backup-local
Homepage: https://hub.docker.com/r/prodrigestivill/postgres-backup-local
Language: Shell
License: MIT
License Family: permissive
Topics: backup, docker, postgresql, docker-image, postgres
Last push: 2026-01-25T14:35:58+00:00

## Health v2 (maintenance only)
Score: 61/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 64, release rhythm 35, longevity 100
- inputs: {"age_days": 3596, "days_push": 220, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1192, forks 164 (observed 2026-08-28T04:03:56.248147+00:00)

## What it is
A Docker image that periodically backs up PostgreSQL databases to a local filesystem using pg_dump, with configurable rotation of daily, weekly, and monthly backups. It supports multiple databases per host and multiple CPU architectures.

## Use cases
- back up postgres databases to local disk on a schedule
- rotate postgres backups daily weekly monthly
- docker compose sidecar container for postgres backups
- dump multiple postgres databases periodically
- self-hosted postgres backup without cloud storage

## When to choose
- you run Postgres in Docker and want simple scheduled local backups with retention
- you need a lightweight sidecar container configured via environment variables
- you want multi-architecture images including ARM

## When to avoid
- you need backups to S3 or other remote object storage
- your backup volume is not POSIX-compliant (VFAT, exFAT, SMB/CIFS)
- you need point-in-time recovery or WAL archiving rather than logical dumps

## Facets
- artifact type: application
- maturity: active
- function: backup, scheduling, deployment
- domain: databases, self-hosted
- platform: self-hosted
- tags: postgresql, backup-rotation, pg-dump, docker-image, periodic-backups, devops, automation, docker, linux

## Member repositories
- prodrigestivill/docker-postgres-backup-local (main) score 61

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:56.248147+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:22:38.468517+00:00, confidence not recorded.
  - readme: https://github.com/prodrigestivill/docker-postgres-backup-local (fetched 2026-08-28T04:03:56.248147+00:00, sha 2de878e4b164)
  - homepage: https://hub.docker.com/r/prodrigestivill/postgres-backup-local (fetched 2026-08-29T12:29:40.014252+00:00, sha 28a9f9c05e2b)
  - site_page: https://docs.docker.com/docker-hub (fetched 2026-08-29T12:29:40.023555+00:00, sha caaa18892709)
  - site_page: https://www.docker.com/docs (fetched 2026-08-29T12:29:40.025823+00:00, sha aeada2272712)
  - site_page: https://www.docker.com/company (fetched 2026-08-29T12:29:40.028394+00:00, sha 05ab59b2bc29)
- Data as of 2026-08-30T08:39:29.467469+00:00.
