deployerbot and backups: move time around so they don't ovelap

This commit is contained in:
Motiejus Jakštys 2023-09-21 06:55:17 +03:00
parent 4290a541ef
commit 0507fb3328
2 changed files with 7 additions and 10 deletions

View File

@ -73,7 +73,7 @@
"tailscale" "tailscale"
"private/soju" "private/soju"
]; ];
backup_at = "*-*-* 00:01:00 UTC"; backup_at = "*-*-* 01:00:00 UTC";
} }
{ {
mountpoint = "/var/lib"; mountpoint = "/var/lib";
@ -89,7 +89,7 @@
"tailscale" "tailscale"
"private/soju" "private/soju"
]; ];
backup_at = "*-*-* 00:01:00 UTC"; backup_at = "*-*-* 01:00:00 UTC";
} }
# TODO: merge # TODO: merge
@ -101,7 +101,7 @@
"+ caddy/access-jakstys.lt.log-*.zst" "+ caddy/access-jakstys.lt.log-*.zst"
"- *" "- *"
]; ];
backup_at = "*-*-* 00:02:00 UTC"; backup_at = "*-*-* 01:01:00 UTC";
} }
{ {
mountpoint = "/var/log"; mountpoint = "/var/log";
@ -111,7 +111,7 @@
"+ caddy/access-jakstys.lt.log-*.zst" "+ caddy/access-jakstys.lt.log-*.zst"
"- *" "- *"
]; ];
backup_at = "*-*-* 00:02:00 UTC"; backup_at = "*-*-* 01:01:00 UTC";
} }
# TODO merge # TODO merge
@ -122,7 +122,7 @@
"motiejus/annex2" "motiejus/annex2"
"motiejus/.config/syncthing" "motiejus/.config/syncthing"
]; ];
backup_at = "*-*-* 00:05:00 UTC"; backup_at = "*-*-* 01:05:00 UTC";
} }
{ {
mountpoint = "/home"; mountpoint = "/home";
@ -131,7 +131,7 @@
"motiejus/annex2" "motiejus/annex2"
"motiejus/.config/syncthing" "motiejus/.config/syncthing"
]; ];
backup_at = "*-*-* 00:05:00 UTC"; backup_at = "*-*-* 01:05:00 UTC";
} }
]; ];
}; };

View File

@ -103,10 +103,7 @@ in {
systemd.timers.deployerbot = { systemd.timers.deployerbot = {
description = "deployerbot-main timer"; description = "deployerbot-main timer";
wantedBy = ["timers.target"]; wantedBy = ["timers.target"];
# 15:38 UTC was the latest merge that I have observed since timerConfig.OnCalendar = "*-*-* 22:00:00 UTC";
# making the commit by looking at 3 commits of this repo.
# Let's try to be optimistic.
timerConfig.OnCalendar = "*-*-* 23:30:00 UTC";
}; };
mj.base.unitstatus.units = ["deployerbot"]; mj.base.unitstatus.units = ["deployerbot"];