This commit is contained in:
Heavybullets8 2022-07-28 23:32:45 -06:00
parent 7c9cf23664
commit 7ad86534f0

View File

@ -33,7 +33,7 @@ deleteBackup(){
while true while true
do do
clear -x && echo "pulling all restore points.." 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) 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 clear -x
if [[ -z "$list_backups" ]]; then if [[ -z "$list_backups" ]]; then
echo "No restore points available" echo "No restore points available"