Skip to content
Snippets Groups Projects
Commit cd2f1b70 authored by Florian Sesser's avatar Florian Sesser
Browse files

Borgbackup: Don't schedule check-repo on day 0, that day doesn't exist.

Refs #198
parent 7814a585
Branches
No related tags found
2 merge requests!617update production,!615Borgbackup: Don't schedule check-repo on day 0, that day doesn't exist.
Pipeline #7031 passed
......@@ -72,8 +72,9 @@ in {
# Check repo once a month
systemd.services.borgbackup-check-repo = {
# Once a month, 3h after last backup started
startAt = "*-*-" + toString backupDelay + " 18:33:22 UTC";
# Once a month, 3h after last backup started.
# Add "1" because day 0 is invalid.
startAt = "*-*-" + toString (backupDelay + 1) + " 18:33:22 UTC";
path = [ pkgs.borgbackup ];
environment = {
BORG_PASSCOMMAND = "cat /run/keys/borgbackup/passphrase";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment