diff --git a/plugins/transfer/restic.sh b/plugins/transfer/restic.sh index 0b8b3b9e2b9a1e0a9a1168704bd238e84a96821a..4ad31c39a28f43e5a893cfc34e4b96a8f432bdd8 100644 --- a/plugins/transfer/restic.sh +++ b/plugins/transfer/restic.sh @@ -173,7 +173,7 @@ function t_backupDoPostTasks(){ # -------------------- - echo "--- UNLOCK ... just in case :-)" + echo "--- UNLOCK" _restic unlock echo diff --git a/restore.sh b/restore.sh index 14b441b658f90a986125e6514c738ccf7fc8344c..3b1ce4dfd165c64009e7ebb06983d3251a818250 100755 --- a/restore.sh +++ b/restore.sh @@ -23,6 +23,7 @@ # 2019-06-05 ah,ds v1.3 add custom cache dir # 2021-05-19 ah,ds, v2.0 plugin driven # 2022-10-21 ah v2.1 init vars; shell fixes +# 2024-02-01 ah v2.2 update restore menu # ================================================================================ @@ -208,7 +209,8 @@ function doRestore(){ echo Have look to the output above. echo "The restore path has $(find ${RESTORE_TARGETPATH} | wc -l) items ($(du -hs ${RESTORE_TARGETPATH} | awk '{ print $1 }'))" echo - echo "find ${RESTORE_TARGETPATH}" + echo " find ${RESTORE_TARGETPATH}" + echo exit } @@ -251,13 +253,12 @@ function doRestore(){ echo echo # echo " C - show file changes" - echo " S - search files" # echo " V - verify" # echo echo " R - start restore with $STORAGE_BIN" echo echo " restore from : $STORAGE_TARGETPATH" - echo " restore to : $RESTORE_TARGETPATH" + echo " restore to : $( color cmd ; echo -n $RESTORE_TARGETPATH; color reset)" echo -n " " if [ -n "$RESTORE_TARGETPATH" ]; then ls -d "$RESTORE_TARGETPATH" >/dev/null 2>&1 @@ -272,8 +273,9 @@ function doRestore(){ echo "(not set)" fi echo - echo "---------- Other:" + echo "---------- Other options:" echo + echo " S - search files" echo " B - Bash (Shell)" echo " X - exit" echo