This commit is contained in:
Heavybullets8 2022-07-29 00:26:47 -06:00
parent 571e00a2f4
commit 291ad68542

View File

@ -34,16 +34,15 @@ while true
do
clear -x && echo "pulling all restore points.."
list_backups=$(cli -c 'app kubernetes list_backups' | sort -t '_' -Vr -k2,7 | tr -d " \t\r" | awk -F '|' '{print $2}' | nl -s ") " | column -t)
clear -x
if [[ -z "$list_backups" ]]; then
echo "No restore points available"
exit
else
title
echo -e "Choose a Restore Point to Delete\nThese may be out of order if they are not HeavyScript backups"
fi
while true
do
clear -x
title
echo -e "Choose a Restore Point to Delete\nThese may be out of order if they are not HeavyScript backups"
echo "$list_backups"
echo
echo "0) Exit"