Werk #23107: omd backup: skip UNIX domain sockets instead of failing
| Component | Site management | ||||
| Title | omd backup: skip UNIX domain sockets instead of failing | ||||
| Date | Nov 10, 2026 | ||||
| Level | Trivial Change | ||||
| Class | Bug Fix | ||||
| Compatibility | Compatible - no manual interaction needed | ||||
| Checkmk versions & editions |
|
Previously, omd backup aborted as soon as it encountered a UNIX domain socket
inside the site directory. The backup failed with:
Failed to get tarinfo for file '/omd/sites/mysite/local/custom.sock'
Sockets cannot be stored in a tar archive anyway. omd backup now skips them,
prints a warning naming the skipped file on stderr, and continues with the
remaining files:
Warning: '/omd/sites/mysite/local/custom.sock' is a UNIX domain socket. Excluding it from the backup.
Sockets created by Checkmk itself live below tmp/ and were never part of the
backup. This change only affects custom sockets placed elsewhere in the site
directory.