From 030c8c1509ce2dd10740c44180193c6af90ab7af Mon Sep 17 00:00:00 2001 From: albert Date: Thu, 19 Dec 2024 16:30:48 +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 30a30cbe..f10eaed6 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 - "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 Local-Storage" + "*/10 * * * * albert btrfs-backup root" + "*/10 * * * * albert btrfs-backup nix" + "*/10 * * * * albert btrfs-backup home" + "*/10 * * * * albert btrfs-backup Local-Storage" ]; };