From 8c6a7ed7d164456b68f7f6e1c0ffeafdffbd65ef Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch>
Date: Thu, 20 Oct 2022 10:56:08 +0200
Subject: [PATCH] add --with-cache in restic check command

---
 plugins/transfer/restic.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/transfer/restic.sh b/plugins/transfer/restic.sh
index 032fe28..826ae8c 100644
--- a/plugins/transfer/restic.sh
+++ b/plugins/transfer/restic.sh
@@ -224,7 +224,7 @@
         echo "--- VERIFY (whole repository)"
         # param --read-data takes a long time. Maybe use an extra job with it.
         # _mycmd="time restic check ${ARGS_DEFAULT} --with-cache --read-data"
-        _mycmd="restic check ${ARGS_DEFAULT}"
+        _mycmd="restic check ${ARGS_DEFAULT} --with-cache"
         echo $_mycmd
         sleep 3
         color cmd 
-- 
GitLab