The following two tweaks have been done:

1. FirstInc will now start regardless if the LastInc, from the previous 24h-period, has reported to be successful or not. Before this change, FirstInc did not start unless LastInc had reported "completed" to /var/log/sql-backup/monitor-inc-backup. This was a bug since LastInc and FirstInc does not have a relation what so ever.

2. LastInc now writes "completed" to /var/log/sql-backup/monitor-inc-backup BEFORE starting to compress the full backup. Previously LastInc did not report this until AFTER the tar+compress had been completed.

/Beskow