From a461fc72f6af49b6d2b110a56609806104bf0923 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Sat, 18 Nov 2023 22:41:48 +0100 Subject: [PATCH] feat(backups): start backups in 5 minute interval --- hosts/nachtigall/apps/forgejo.nix | 2 +- hosts/nachtigall/apps/keycloak.nix | 2 +- hosts/nachtigall/apps/mailman.nix | 2 +- hosts/nachtigall/apps/mastodon.nix | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hosts/nachtigall/apps/forgejo.nix b/hosts/nachtigall/apps/forgejo.nix index 4a8de24..eb76588 100644 --- a/hosts/nachtigall/apps/forgejo.nix +++ b/hosts/nachtigall/apps/forgejo.nix @@ -136,7 +136,7 @@ "/tmp/forgejo-backup.sql" ]; timerConfig = { - OnCalendar = "*-*-* 04:00:00 Etc/UTC"; + OnCalendar = "*-*-* 04:20:00 Etc/UTC"; }; initialize = true; passwordFile = config.age.secrets."restic-repo-storagebox".path; diff --git a/hosts/nachtigall/apps/keycloak.nix b/hosts/nachtigall/apps/keycloak.nix index 45682e9..deb13f9 100644 --- a/hosts/nachtigall/apps/keycloak.nix +++ b/hosts/nachtigall/apps/keycloak.nix @@ -72,7 +72,7 @@ "/tmp/keycloak-backup.sql" ]; timerConfig = { - OnCalendar = "*-*-* 04:00:00 Etc/UTC"; + OnCalendar = "*-*-* 04:10:00 Etc/UTC"; }; initialize = true; passwordFile = config.age.secrets."restic-repo-storagebox".path; diff --git a/hosts/nachtigall/apps/mailman.nix b/hosts/nachtigall/apps/mailman.nix index 75ea2a5..f9506e3 100644 --- a/hosts/nachtigall/apps/mailman.nix +++ b/hosts/nachtigall/apps/mailman.nix @@ -105,7 +105,7 @@ "/var/lib/postfix/conf/aliases.db" ]; timerConfig = { - OnCalendar = "*-*-* 04:00:00 Etc/UTC"; + OnCalendar = "*-*-* 04:15:00 Etc/UTC"; }; initialize = true; passwordFile = config.age.secrets."restic-repo-storagebox".path; diff --git a/hosts/nachtigall/apps/mastodon.nix b/hosts/nachtigall/apps/mastodon.nix index 2786c14..99410cd 100644 --- a/hosts/nachtigall/apps/mastodon.nix +++ b/hosts/nachtigall/apps/mastodon.nix @@ -119,7 +119,7 @@ "/tmp/mastodon-backup.sql" ]; timerConfig = { - OnCalendar = "*-*-* 04:00:00 Etc/UTC"; + OnCalendar = "*-*-* 04:05:00 Etc/UTC"; }; initialize = true; passwordFile = config.age.secrets."restic-repo-storagebox".path;