From e8e33809ac6e3b4100bc2996a677172c63d81799 Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch>
Date: Wed, 9 Feb 2022 10:26:10 +0100
Subject: [PATCH] restic remove  restic cache --cleanup

---
 plugins/transfer/restic.sh | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/plugins/transfer/restic.sh b/plugins/transfer/restic.sh
index 5f12d28..109ab44 100644
--- a/plugins/transfer/restic.sh
+++ b/plugins/transfer/restic.sh
@@ -138,19 +138,6 @@
     # uses global vars from ../../transfer.sh
     function t_backupDoPostTasks(){
 
-        echo "--- CLEANUP local data:"
-        echo restic cache --cleanup
-        color cmd
-        restic cache --cleanup
-        local _myrc=$?
-        color reset
-        case $_myrc in
-            0) color ok;      echo "OK" ;;
-            *) color error;   echo "Cleanup error - returncode was $_myrc" ;;
-        esac
-        color reset
-        echo
-
         echo "--- UNLOCK ... just in case :-)" 
         echo restic unlock ${ARGS_DEFAULT}
         color cmd
-- 
GitLab