From 66be02686e8592e66d1a51eed5b5b1d97cd30ece Mon Sep 17 00:00:00 2001 From: albert Date: Thu, 19 Dec 2024 16:41:45 +0100 Subject: [PATCH] Testing btrfs backup script in cron --- nixos/hosts/nuc-server/disks.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nixos/hosts/nuc-server/disks.nix b/nixos/hosts/nuc-server/disks.nix index f10eaed6..668aafe2 100644 --- a/nixos/hosts/nuc-server/disks.nix +++ b/nixos/hosts/nuc-server/disks.nix @@ -4,10 +4,10 @@ services.cron = { systemCronJobs = [ # Back up Local-Storage to NFS Storage - "*/10 * * * * albert btrfs-backup root" - "*/10 * * * * albert btrfs-backup nix" - "*/10 * * * * albert btrfs-backup home" - "*/10 * * * * albert btrfs-backup Local-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" ]; };