Univention Bugzilla – Bug 38679
add option to disable univention-ldap-backup
Last modified: 2016-09-07 18:41:37 CEST
We need a UCR variable to disable the cron job /etc/cron.d/univention-ldap-server which call univention-ldap-backup.
Created attachment 7055 [details] univention-ldap.patch
*** Bug 41430 has been marked as a duplicate of this bug. ***
/etc/cron.d/univention-ldap-server is now a template. UCR slapd/backup to disable the cron job, slapd/backup/cron to configure the cron interval. univention-ldap.yaml merged to 4.2
Basically it works. I think we should set default values and/or describe the possible values in the UCR variables description. root@master411:~# ucr search slapd/backup slapd/backup/cron: <empty> Cron interval for the slapd database backup. slapd/backup: <empty> Activates/deactivates the slapd database backup (slapcat). root@master411:~#
OK, univention-ldap-server now sets defaults for slapd/backup/cron and slapd/backup. Added defaults to description. errata4.1-3 4.2-0 updated yaml
Code review: OK ucs-test: OK Tests: OK YAML: OK
<http://errata.software-univention.de/ucs/4.1/249.html>