You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.
WORKING_BKP=$(zenity --list --title="Backup list" --width=500 --text="Choose your backup from the liste behind" "${HUBIC_COLS[@]}" "${HUBIC_FIELDS[@]}")
[ "$?" != 0 -o ! -n "$WORKING_BKP" ] && exit 1
ACTION=$(zenity --list --radiolist --text="What do you want to do with ${WORKING_BKP}?" --column= --column=Action FALSE Attach FALSE Download False Delete)
echo $ACTION
case $ACTION in
Attach)
echo 'Will attach stuff'
;;
Download)
echo 'Will download stuff'
;;
Delete)
if zenity --question --text="This will delete all files and archived versions in backup ${WORKING_BKP}, local data will left unmodified.\nDo you want to proceed ?"
then
hubic backup delete --force ${WORKING_BKP}
zenity --info --text="Your backup ${WORKING_BKP} will be shortly deleted from OVH servers"