Werk #22143: omd backup: Fix corrupted Event Console history in the archive
| Component | Site management | ||||||
| Title | omd backup: Fix corrupted Event Console history in the archive | ||||||
| Date | Aug 12, 2026 | ||||||
| Level | Prominent Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
omd backup of a running site could produce an archive whose Event Console
history database is corrupted. After restoring such an archive, entries of the
event history could be missing or show up twice, or the Event Console could fail
to read its history at all.
The history database var/mkeventd/history/history.sqlite is archived through
the sqlite backup API, which yields a complete database on its own. The
write-ahead log and the shared memory file next to it were archived afterwards
as ordinary files, so the archive held a snapshot plus a log belonging to a
different instant, which was then replayed onto the snapshot on restore.
These sidecar files are now excluded from the archive. This does not repair archives that were already taken. If you depend on the event history of such an archive, check it after restoring.