Werk #23107 · Nov 10, 26
omd backup: skip UNIX domain sockets instead of failing
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.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- OMD
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p22All Editions