diff --git a/plugins/transfer/restic.sh b/plugins/transfer/restic.sh index 663848b4f76611a05cdd2587e0ea4ee12d473a38..9925c420907f3e0548d3ebff4387bf52943aa6a6 100644 --- a/plugins/transfer/restic.sh +++ b/plugins/transfer/restic.sh @@ -130,6 +130,13 @@ if eval restic snapshots ${ARGS_DEFAULT} >/dev/null 2>&1 then echo "__REPO__ OK, Backup repository already exists." + + echo "--- UNLOCK ... just in case :-)" + echo restic unlock ${ARGS_DEFAULT} + color cmd + eval restic unlock ${ARGS_DEFAULT} + color reset + echo else echo "Backup repository needs to be created." local _mycmd="restic init ${ARGS_DEFAULT}" diff --git a/transfer.sh b/transfer.sh index 3cd45727788ec270d7227579cc0913dbe64c2f7b..ab40b40fb62a1ec398d2e6c1d2f91e27c43b4c1a 100755 --- a/transfer.sh +++ b/transfer.sh @@ -177,7 +177,7 @@ function setAction(){ fi # set defaults for prune and verify - echo ">>> Detect default behaviuor:" + echo ">>> Detect default behaviour:" setAction "prune" $lastprunefile; doPrune=$doValue setAction "verify" $lastverifyfile; doVerify=$doValue echo