diff --git a/plugins/transfer/restic.sh b/plugins/transfer/restic.sh index a1a7253310b08b10e01f3dacc715718a711365c6..5aadf383cb3e8d921bf14b75ac06627e4ee433c2 100644 --- a/plugins/transfer/restic.sh +++ b/plugins/transfer/restic.sh @@ -1,7 +1,7 @@ #!/bin/bash # ================================================================================ # -# TRANSFER :: PLUGIN - TEMPLATE +# TRANSFER :: PLUGIN - RESTIC # # this script will be included in ../../transfer.sh # @@ -17,6 +17,7 @@ # 2022-10-21 ah v0.7 simplify restic exec commands in _restic; remove --prune in check # 2022-11-04 ah v1.0 one command for forget and prune; rename hooks # 2023-03-20 ah v1.1 use vss for backup on MS Windows +# 2024-01-23 ah v1.2 prune uses --max-unused unlimited # ================================================================================ # -------------------------------------------------------------------------------- @@ -186,10 +187,10 @@ local _tag=$( _j_getvar ${STORAGEFILE} "${CFGPREFIX}tag") local _mycmd="forget \ - ${ARGS_DEFAULT} \ --tag $_tag \ --group-by paths,tags \ --prune \ + --max-unused unlimited \ --cleanup-cache" local _keep