Add KEEP_LAST retention policy for backups
docker-build / Build image (push) Successful in 25s

Add KEEP_LAST environment variable to always preserve the N most recent
backups regardless of age, preventing data loss when backups haven't
been created for extended periods. Defaults to 10 copies.
This commit is contained in:
2026-09-01 12:09:19 +07:00
parent 819635b54d
commit 3183bf5267
5 changed files with 45 additions and 5 deletions
+1
View File
@@ -12,6 +12,7 @@ services:
- DB_FILE
- CRONTAB
- DELETE_AFTER
- KEEP_LAST
- TZ
- MINIO_PATH
- MINIO_ACCOUNT_ID