bareos: master 900f164b

Author Committer Branch Timestamp Parent
bruno-at-bareos pstorz master 2022-09-21 16:29 master dcc48309 Pending
Affected Issues  0001466: Backups triggering twice with "Run On Incoming Connect Interval
Changeset core: BareosDb::FindLastJobStartTimeForJobAndClient: take into account Running job

- Adding Created and Running jobs to the query will avoid the start
  of a second backup job for the same client while starttime is
  overdue.
  As we need to return a time_t and jobstatus = C doesn't have
  starttime set, now() is used with casting forced to expected
  timestamp without DST

Fix [BUG 0001466]

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
mod - core/src/cats/sql_find.cc Diff File