Skip to content
Snippets Groups Projects
Commit a1e70788 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

update restore menu

parent ebc8e37f
No related branches found
No related tags found
1 merge request!122restic: fix replace fqdn in RESTIC_REPOSITORY
...@@ -234,18 +234,24 @@ function doRestore(){ ...@@ -234,18 +234,24 @@ function doRestore(){
h1 "Restore :: Menu" h1 "Restore :: Menu"
echo " D - directory to restore: $BACKUP_DIR" echo " D - directory to restore: $( color cmd ; echo -n $BACKUP_DIR; color reset)"
echo -n " W - time or snapshot ID : $RESTORE_ITEM" echo
echo "---------- Restore method 1:"
echo
echo " M - mount backup with fuse"
echo
echo "---------- Restore method 2:"
echo
echo -n " W - time or snapshot ID : $( color cmd ; echo -n $RESTORE_ITEM; color reset)"
test -z "$RESTORE_ITEM" && echo -n " ... set one first" test -z "$RESTORE_ITEM" && echo -n " ... set one first"
test -z "$RESTORE_ITEMINFO" || echo -n " ($RESTORE_ITEMINFO)" test -z "$RESTORE_ITEMINFO" || echo -n " ($RESTORE_ITEMINFO)"
echo echo
echo -n " F - what to restore : $RESTORE_FILTER" echo -n " F - what to restore : $( color cmd ; echo -n $RESTORE_FILTER; color reset)"
test -z "$RESTORE_FILTER" && echo -n "(no filter = restore all files)" test -z "$RESTORE_FILTER" && echo -n "(no filter = restore all files)"
echo echo
echo echo
echo " M - mount backup"
# echo " C - show file changes" # echo " C - show file changes"
# echo " S - search file" echo " S - search files"
# echo " V - verify" # echo " V - verify"
# echo # echo
echo " R - start restore with $STORAGE_BIN" echo " R - start restore with $STORAGE_BIN"
...@@ -266,6 +272,8 @@ function doRestore(){ ...@@ -266,6 +272,8 @@ function doRestore(){
echo "(not set)" echo "(not set)"
fi fi
echo echo
echo "---------- Other:"
echo
echo " B - Bash (Shell)" echo " B - Bash (Shell)"
echo " X - exit" echo " X - exit"
echo echo
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment