Univention Bugzilla – Bug 47336
univention-config-registry-backup fails as of missing /var/univention-backup/
Last modified: 2018-11-01 13:44:08 CET
Since some days I received errors from cron for "/usr/share/univention-config-registry/univention-config-registry-backup" > touch: cannot touch '/var/univention-backup/ucr-backup_20180711.tgz': No such file or directory > chmod: cannot access '/var/univention-backup/ucr-backup_20180711.tgz': No such file or directory > chown: cannot access '/var/univention-backup/ucr-backup_20180711.tgz': No such file or directory tar (child): /var/univention-backup/ucr-backup_20180711.tgz: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now > tar: Child returned status 2 > tar: Error is not recoverable: exiting now Not sure when it started, as I had a problem with the email-notification in parallel.
my quick solution was to add a line [ -d "/var/univention-backup/" ] || mkdir "/var/univention-backup/" before touch "$TARGET"
Same here on a freshly installed (UCS_4.3-1-amd64.iso) single-master. /var/univention-backup did not exist.
*** Bug 47838 has been marked as a duplicate of this bug. ***
please add `var/univention-backup` in `./univention-base-files-7.0.0/debian/univention-base-files.dirs` to solve the problem. /thorsten
8005f50fbc Ensure that /var/univention-backup exists 60a95299f0 Advisory
(In reply to Arvid Requate from comment #5) OK: 8005f50fbc Ensure that /var/univention-backup exists OK: 60a95299f0 Advisory OK: errata-announce -V --only univention-base-files.yaml OK: univention-base-files.yaml OK: /usr/share/univention-config-registry/univention-config-registry-backup
<http://errata.software-univention.de/ucs/4.3/295.html>