From 25d33394e9ffd7de69fca8281c0766862cc45f03 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Tue, 15 Jul 2025 11:17:44 -0400 Subject: [PATCH] Add `sleep` to maybe fix timing issue. --- roles/restic.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/roles/restic.nix b/roles/restic.nix index 3f30180..1a79c25 100644 --- a/roles/restic.nix +++ b/roles/restic.nix @@ -13,9 +13,8 @@ backupPrepareCommand = '' #!${pkgs.bash}/bin/sh ${pkgs.zfs}/bin/zfs snapshot zpool/home@restic - ${pkgs.coreutils}/bin/ls /home/.zfs/snapshot/restic ${pkgs.zfs}/bin/zfs snapshot zpool/var@restic - ${pkgs.coreutils}/bin/ls /var/.zfs/snapshot/restic + ${pkgs.coreutils}/bin/sleep 10 ''; backupCleanupCommand = '' #!${pkgs.bash}/bin/sh