]> Sergey Matveev's repositories - dotfiles.git/commitdiff
Encrypted datasets compatibility
authorSergey Matveev <stargrave@stargrave.org>
Tue, 4 Jul 2023 09:59:53 +0000 (12:59 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Tue, 4 Jul 2023 09:59:53 +0000 (12:59 +0300)
bin/bin/zsnap

index 948fe65a9017371a3bdb308e8e4785bbe9d76c85..5dab4c33a8aa65bb0a32ee38c8d5396513800992 100755 (executable)
@@ -58,7 +58,7 @@ case $action in
         [[ $latest_dst != $latest_filename ]]
         setopt PIPE_FAIL
         set -x
-        zfs send -Rv -i ${latest_dst:gs#%#/} $latest | zstd | $enccmd > \
+        zfs send -Rwv -i ${latest_dst:gs#%#/} $latest | zstd | $enccmd > \
             $dst/$latest_filename.zfs.zst.gpg
         set +x
         sync