]> gitweb.hhaalo.de Git - simple-backup.git/commitdiff
add check backup date final
authorBastian Dehn <hhaalo@arcor.de>
Tue, 11 Aug 2026 15:45:32 +0000 (17:45 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Tue, 11 Aug 2026 15:45:32 +0000 (17:45 +0200)
src/backup

index 0d21c67bf220908523e876b57f19af2054627293..d59edc131e2d90dfecb4548df94edd5aaa404604 100755 (executable)
@@ -496,7 +496,13 @@ main()
                || return $?
        echo "â„šī¸ INFO: backup count: $backup_count"
        cleanup_old_backups "$config" \
-               "$backup_count"
+               "$backup_count" \
+               || errlog "could not delete old backup" \
+               || return $?
+       update_stat "$config" \
+               || errlog "could not create stat" \
+               || return $?
+       check_backup_date "$config"
        echo "🏁 FINISH: backup run"
 
        echo "✅ SUCCESS: backup"