Add daily backups (CronJob + dedicated PVC, 7-day retention)

This commit is contained in:
git_admin
2026-04-26 21:01:17 +03:00
parent 97666c4e2f
commit 24f879db01
3 changed files with 115 additions and 0 deletions

View File

@@ -73,6 +73,17 @@ postgres:
password: ""
storage: 10Gi
backups:
enabled: true
# Cron schedule for the automatic backup job. Default 03:00 UTC
# daily — quiet hour for most timezones, non-business in EU/US/AS.
schedule: "0 3 * * *"
# PVC size for retained dumps. Holds ~7 days of dumps for a small
# instance; scale up via overlay if the instance has a large DB.
storage: 10Gi
# How many dumps to retain. Older ones are pruned by the same Job.
retain: 7
ingress:
# Traefik entrypoint name (set on the Traefik install in the
# `traefik` namespace).