From 604239fd0a9815481dbb92da427571e31956f667 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Wed, 18 Jun 2025 08:13:32 -0400 Subject: [PATCH] For some reason I have to list the snapshot content before Restic can access it. --- roles/restic.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/restic.nix b/roles/restic.nix index 5db0764..3f30180 100644 --- a/roles/restic.nix +++ b/roles/restic.nix @@ -13,7 +13,9 @@ 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 ''; backupCleanupCommand = '' #!${pkgs.bash}/bin/sh