Werk #6443: Fixed possible "omd backup" error when files vanish during backup
Komponente | Site management |
Titel | Fixed possible "omd backup" error when files vanish during backup |
Datum | 10.08.2018 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 1.5.0p1 1.6.0b1 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
When Check_MK creates temporary files while writing configuration files or similar, a parallel running "omd backup" job may try to backup those temporary files. When these backup files are finished and moved to the destination path, the backup may terminate with an error like this:
OSError: [Errno 2] No such file or directory: '/omd/sites/[SITE]/var/check_mk/web/[USER]/.last_pw_change.mk.newPm8BK8'
This issue is now prevented by skipping those temporary files during backup.