From 9b94dd5f8b2328613f62c993c432ee742815d57a Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch> Date: Tue, 23 Jan 2024 08:42:31 +0100 Subject: [PATCH] prune uses --max-unused unlimited --- plugins/transfer/restic.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/transfer/restic.sh b/plugins/transfer/restic.sh index a1a7253..5aadf38 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 -- GitLab