diff --git a/Backup/.Backup_HD_1TB.sh b/Backup/.Backup_HD_1TB.sh index e686140..04a4cfc 100755 --- a/Backup/.Backup_HD_1TB.sh +++ b/Backup/.Backup_HD_1TB.sh @@ -67,3 +67,7 @@ echo -e "\e[97m`date +%r` - Backup finished. Please, verify your log files.\e[39 echo "$NextDisk" > .lastDisk kdialog --title "Backup Complete" --msgbox "Backup finished successfully" + +echo "Press any key to close" +read +exit diff --git a/Backup/runBackup.sh b/Backup/runBackup.sh index a27ab46..038cf7e 100755 --- a/Backup/runBackup.sh +++ b/Backup/runBackup.sh @@ -1,3 +1,2 @@ -#!/usr/bin/bash -terminator -m -T BACKUP -x sudo systemd-inhibit bash .Backup_HD_1TB.sh; echo; echo "Press enter key to close"; read - +terminator -m -T BACKUP -x sudo systemd-inhibit bash .Backup_HD_1TB.sh +exit diff --git a/Services/backup-contabo.sh b/Services/backup-contabo.sh index 6cffdc0..9eb5c2c 100755 --- a/Services/backup-contabo.sh +++ b/Services/backup-contabo.sh @@ -5,6 +5,6 @@ sleep 60 # Delete old backups find /home/bruno/Backups/Contabo/db -type f -name "*.sql.gz" -mtime +15 -delete find /home/bruno/Backups/Contabo/files -type f -name "*.*" -mtime +35 -delete -find /home/bruno/Backups/Contabo/vmail -type f -name "*.*" -mtime +20 -delete +find /home/bruno/Backups/Contabo/mail -type f -name "*.*" -mtime +20 -delete find /home/bruno/Backups/Contabo/ -type f -name "*.*" -mtime +120 -delete