For some reason I have to list the snapshot content before Restic can access it.
This commit is contained in:
parent
89aca57f76
commit
604239fd0a
1 changed files with 2 additions and 0 deletions
|
@ -13,7 +13,9 @@
|
||||||
backupPrepareCommand = ''
|
backupPrepareCommand = ''
|
||||||
#!${pkgs.bash}/bin/sh
|
#!${pkgs.bash}/bin/sh
|
||||||
${pkgs.zfs}/bin/zfs snapshot zpool/home@restic
|
${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.zfs}/bin/zfs snapshot zpool/var@restic
|
||||||
|
${pkgs.coreutils}/bin/ls /var/.zfs/snapshot/restic
|
||||||
'';
|
'';
|
||||||
backupCleanupCommand = ''
|
backupCleanupCommand = ''
|
||||||
#!${pkgs.bash}/bin/sh
|
#!${pkgs.bash}/bin/sh
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue