For some reason I have to list the snapshot content before Restic can access it.

This commit is contained in:
Nolan Darilek 2025-06-18 08:13:32 -04:00
parent 89aca57f76
commit 604239fd0a

View file

@ -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