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