Commit graph

14 commits

Author SHA1 Message Date
Alexandre Aubin
8aa911b6e2 Misc renaming/tweaks for more sensible naming 2021-05-23 23:49:36 +02:00
Alexandre Aubin
93ce917e5e Backup hooks don't need to be executable 2021-04-05 21:11:26 +02:00
Josué Tille
f22f64103a Backup/restore also slapd.ldif
We need this because the regen-conf need to get the state of the slapd config database if it is customized or not and if some update are need.
2020-07-27 19:26:18 +02:00
Josué Tille
8af56c82ef slapd.conf is no more used, but ldap.conf need to be saved/restored 2020-07-27 19:26:18 +02:00
Alexandre Aubin
97e5d3b992 Remove those random sudo which are useless yet triggers LDAP warning when LDAP is in bad state 2019-11-28 00:10:40 +01:00
Alexandre Aubin
d495d315c0 [fix] Loading only one helper file leads to errors because missing getopts 2019-02-16 16:36:35 +01:00
opi
751e221406 [enh] Use 'source' instead of dot notation, more explicit. 2016-05-30 10:49:50 +02:00
opi
75b9cbc7f3 [enh] Comments will save us. 2016-05-30 09:17:25 +02:00
Jérôme Lebleu
185f29ba60 [fix] Harden backup hooks with set options and use ynh_backup 2016-05-29 23:33:28 +02:00
Julien Malik
1300f4c0ca [fix] fix lintian script-not-executable 2016-03-12 00:20:52 +01:00
Jérôme Lebleu
141d704a04 [fix] Review LDAP backup and restore hooks
The configuration is now saved using slapcat instead of trying to generate
it from slapd.conf - which generally fail at restoration.
Also, a backup of configuration and database is made before the restoration,
which allows to return to a "working" state if it fails.
2016-01-23 19:15:13 +01:00
zamentur
98e92bdbac [fix] Sudo on some backup script 2015-10-03 20:41:37 +02:00
zamentur
027ec16978 [fix] error with slpacat and slapd-yuno.conf 2015-10-02 20:48:04 +02:00
zamentur
a0199d060b [enh] Introduce data and conf hooks category 2015-10-02 18:57:10 +02:00
Renamed from data/hooks/backup/05-system_ldap (Browse further)