Skip to content
Snippets Groups Projects

Version 2

Merged Hahn Axel (hahn) requested to merge version-2 into master

Files

+ 2
4
@@ -218,19 +218,17 @@
color cmd
t_cmdShowVolumes
color reset
showPrompt "ID of the snapshot to restore from [$RESTORE_ITEM] >"
showPrompt "ID of the snapshot or \"latest\" to restore from [$RESTORE_ITEM] >"
read _selid
test -z "$_selid" && _selid=$RESTORE_ITEM
RESTORE_ITEM=$_selid
echo using \"$RESTORE_ITEM\"
RESTORE_ITEMINFO=$( t_cmdShowVolumes | grep "^$RESTORE_ITEM" | awk '{ print $2 " " $3} ' )
echo
}
# set a filter to reduce count of files to restore
function t_restoreFilter(){
local _inc=
echo "--- Filter:"
echo "By default all files will be restored."
echo "You can limit it by setting include rules."
echo "You can enter ..."
echo " - a single directory name anywhere in the folderstructure"
echo " - a filename without path"
Loading