From 10e3bc19561e47beee06769f4bebadf231279538 Mon Sep 17 00:00:00 2001 From: Thibaud Date: Thu, 18 Feb 2021 19:37:04 +0100 Subject: [PATCH] Update retention strategy --- borgbackup.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/borgbackup.service b/borgbackup.service index c2505a0..b041416 100644 --- a/borgbackup.service +++ b/borgbackup.service @@ -6,7 +6,7 @@ Type=oneshot Environment=BORG_HOSTNAME_IS_UNIQUE=yes Nice=19 ExecStart=/usr/bin/borg create --list --stats --filter AME --exclude-from=${EXCLUDE_LIST} ::{now} / -ExecStartPost=/usr/bin/borg prune -v --list --keep-daily=7 --keep-weekly=4 --keep-monthly=10 --keep-within 2d --stats :: +ExecStartPost=/usr/bin/borg prune -v --list --keep-within=2d --keep-daily=7 --keep-weekly=4 --keep-monthly=10 --keep-yearly=3 --stats :: [Install] WantedBy=multi-user.target