From a12e904d6e53eb09a5945115db37cd2f67d8a42b Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Sat, 20 Apr 2024 20:15:29 +0200 Subject: [PATCH] Autorestic: change backup times to 4:00 ISP reassigns public IP around 3:30. If backups take too long the remote backup will fail --- hosts/franz/restic.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/hosts/franz/restic.nix b/hosts/franz/restic.nix index 8f7f0d3..c868e15 100644 --- a/hosts/franz/restic.nix +++ b/hosts/franz/restic.nix @@ -68,7 +68,7 @@ in { from: /storage/dataset/docker/dashboard to: - zfs - cron: '0 3 * * 0' # Every Sunday at 3:00 + cron: '0 4 * * 0' # Every Sunday at 4:00 hooks: before: - arion -f ${arionPath}/dashboard/arion-compose.nix -p ${arionPath}/dashboard/arion-pkgs.nix stop @@ -78,7 +78,7 @@ in { from: /storage/dataset/docker/dns to: - zfs - cron: '0 3 * * 0' # Every Sunday at 3:00 + cron: '0 4 * * 0' # Every Sunday at 4:00 hooks: before: - arion -f ${arionPath}/dns/arion-compose.nix -p ${arionPath}/dns/arion-pkgs.nix stop @@ -88,7 +88,7 @@ in { from: /storage/dataset/docker/feed to: - zfs - cron: '0 3 * * 0' # Every Sunday at 3:00 + cron: '0 4 * * 0' # Every Sunday at 4:00 hooks: before: - arion -f ${arionPath}/feed/arion-compose.nix -p ${arionPath}/feed/arion-pkgs.nix stop @@ -99,7 +99,7 @@ in { to: - zfs - ssd - cron: '0 3 * * *' # Every Day at 3:00 + cron: '0 4 * * *' # Every Day at 4:00 hooks: before: - arion -f ${arionPath}/git/arion-compose.nix -p ${arionPath}/git/arion-pkgs.nix stop @@ -109,7 +109,7 @@ in { from: /storage/dataset/docker/media to: - zfs - cron: '0 3 * * *' # Every Day at 3:00 + cron: '0 4 * * *' # Every Day at 4:00 hooks: before: - arion -f ${arionPath}/media/arion-compose.nix -p ${arionPath}/media/arion-pkgs.nix stop @@ -120,7 +120,7 @@ in { to: - zfs - ssd - cron: '0 3 * * *' # Every Day at 3:00 + cron: '0 4 * * *' # Every Day at 4:00 hooks: before: - arion -f ${arionPath}/nextcloud/arion-compose.nix -p ${arionPath}/nextcloud/arion-pkgs.nix stop @@ -130,7 +130,7 @@ in { from: /storage/dataset/docker/smarthome to: - zfs - cron: '0 3 * * 0' # Every Sunday at 3:00 + cron: '0 4 * * 0' # Every Sunday at 4:00 hooks: before: - arion -f ${arionPath}/smarthome/arion-compose.nix -p ${arionPath}/smarthome/arion-pkgs.nix stop @@ -141,7 +141,7 @@ in { to: - zfs - ssd - cron: '0 3 * * *' # Every Day at 3:00 + cron: '0 4 * * *' # Every Day at 4:00 hooks: before: - arion -f ${arionPath}/passwords/arion-compose.nix -p ${arionPath}/passwords/arion-pkgs.nix stop