Learn more about the latest product updates at the Checkmk Conference #12 – live from June 16-17! Watch here

Werk #19707: omd: Ensure only one backup runs at a time

Component Site management
Title omd: Ensure only one backup runs at a time
Date May 22, 2026
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
3.0.0b1
Not yet released
Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

Previously, running omd backup while a backup was already in progress on the same site would silently start a second concurrent backup. Concurrent backups are now prevented. A second invocation will fail immediately with an error.

This also fixes a crash introduced on SLES 16.0 (shipped with systemd 257), where the omd command would fail with:

FileNotFoundError: [Errno 2] No such file or directory: '/run/lock/mkbackup'

SLES 16.0 no longer creates /run/lock/ on fresh installs before first boot. The lock file used to coordinate backups has been moved to the site directory, which is always available.

To the list of all Werks