From 97d13b79e9fc14e7dbf071bc33944f83f551bded Mon Sep 17 00:00:00 2001 From: albert Date: Thu, 19 Dec 2024 18:22:17 +0100 Subject: [PATCH] Update cron schedules --- nixos/hosts/framework-server/disks.nix | 9 ++++----- nixos/hosts/nixos-framework/disks.nix | 7 +++---- nixos/hosts/nuc-server/disks.nix | 9 ++++----- 3 files changed, 11 insertions(+), 14 deletions(-) diff --git a/nixos/hosts/framework-server/disks.nix b/nixos/hosts/framework-server/disks.nix index 686ae5a4..57266123 100644 --- a/nixos/hosts/framework-server/disks.nix +++ b/nixos/hosts/framework-server/disks.nix @@ -3,11 +3,10 @@ services.cron = { systemCronJobs = [ - # Back up Local-Storage to NFS Storage - "0 0 * * * albert sudo btrfs-backup root" - "0 0 * * * albert sudo btrfs-backup nix" - "0 0 * * * albert sudo btrfs-backup home" - "0 0 * * * albert sudo btrfs-backup Storage" + "0 0 * * * root btrfs-backup root" + "0 0 * * * root btrfs-backup nix" + "0 0 * * * root btrfs-backup home" + "0 0 * * * root btrfs-backup Storage" ]; }; diff --git a/nixos/hosts/nixos-framework/disks.nix b/nixos/hosts/nixos-framework/disks.nix index 20cef485..265a0503 100644 --- a/nixos/hosts/nixos-framework/disks.nix +++ b/nixos/hosts/nixos-framework/disks.nix @@ -3,10 +3,9 @@ services.cron = { systemCronJobs = [ - # Back up Local-Storage to NFS Storage - "0 17 * * * albert sudo btrfs-backup root" - "0 17 * * * albert sudo btrfs-backup nix" - # "0 4 * * 3 albert sudo btrfs-backup home" + "0 17 * * * root sudo btrfs-backup root" + "0 17 * * * root sudo btrfs-backup nix" + # "0 17 * * * root sudo btrfs-backup home" ]; }; diff --git a/nixos/hosts/nuc-server/disks.nix b/nixos/hosts/nuc-server/disks.nix index 668aafe2..94e01ec1 100644 --- a/nixos/hosts/nuc-server/disks.nix +++ b/nixos/hosts/nuc-server/disks.nix @@ -3,11 +3,10 @@ services.cron = { systemCronJobs = [ - # Back up Local-Storage to NFS Storage - "*/5 * * * * albert /run/current-system/sw/bin/btrfs-backup root" - "*/5 * * * * albert /run/current-system/sw/bin/btrfs-backup nix" - "*/5 * * * * albert /run/current-system/sw/bin/btrfs-backup home" - "*/5 * * * * albert /run/current-system/sw/bin/btrfs-backup Local-Storage" + "0 0 * * * root btrfs-backup root" + "0 0 * * * root btrfs-backup nix" + "0 0 * * * root btrfs-backup home" + "0 0 * * * root btrfs-backup Local-Storage" ]; };