LibrePortal/configs/backup/backup_retention
librelad 875a60f90f LibrePortal v0.1.0 — initial release
A free, open, self-hosted app platform (GNU AGPLv3): one-click app deploys,
Traefik reverse proxy with automatic SSL, rootless Docker support, gluetun
VPN routing, and a web dashboard to manage it all.

Free & open forever to self-host; optional paid hosted services fund it.
See PROMISE.md.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

Signed-off-by: librelad <librelad@digitalangels.vip>
2026-05-21 20:37:54 +01:00

14 lines
1.2 KiB
Plaintext

# ================================================================================
# Backup Retention - Default retention policy applied at every forget pass.
# Per-location overrides supported via the Locations edit modal.
#
# Most users should pick a "Backup style" preset on the Schedule page rather
# than editing these directly. Blank values mean "do not enforce this tier".
# ================================================================================
CFG_BACKUP_KEEP_LAST= # Keep Last N - Always keep this many most-recent snapshots
CFG_BACKUP_KEEP_DAILY=30 # Keep Daily - Keep one snapshot per day for this many days
CFG_BACKUP_KEEP_WEEKLY= # Keep Weekly - Keep one snapshot per week for this many weeks
CFG_BACKUP_KEEP_MONTHLY= # Keep Monthly - Keep one snapshot per month for this many months
CFG_BACKUP_KEEP_YEARLY= # Keep Yearly - Keep one snapshot per year for this many years
CFG_BACKUP_PRUNE_AFTER_FORGET=true # Prune After Forget - Reclaim repo space after forgetting snapshots