From 190a8ead8744c18020881593f46c0e715fcb8b74 Mon Sep 17 00:00:00 2001 From: Nathaniel Landau Date: Fri, 25 Feb 2022 08:43:46 -0500 Subject: [PATCH] Reduce number of backups retained for uptimekuma --- templates/scripts/service_backups.sh.j2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/scripts/service_backups.sh.j2 b/templates/scripts/service_backups.sh.j2 index 2fd3049..42a9a3f 100755 --- a/templates/scripts/service_backups.sh.j2 +++ b/templates/scripts/service_backups.sh.j2 @@ -119,6 +119,12 @@ _mainScript_() { BACKUP_RETENTION_WEEKLY=2 BACKUP_RETENTION_MONTHLY=1 ;; + uptimekuma) + BACKUP_RETENTION_HOURLY=1 + BACKUP_RETENTION_DAILY=1 + BACKUP_RETENTION_WEEKLY=1 + BACKUP_RETENTION_MONTHLY=1 + ;; *) BACKUP_RETENTION_HOURLY=2 BACKUP_RETENTION_DAILY=6