Browse Source

new: added ``ldapdump_to_dir`` to ``ldap`` charm.

postgres
root 11 years ago
parent
commit
e42f370bb0
  1. 14
      precise/ldap/hooks/install

14
precise/ldap/hooks/install

@ -74,3 +74,17 @@ mmc-add-schema /usr/share/doc/python-mmc-base/contrib/ldap/mail.schema /etc/ldap
# to put in /etc/mmc/plugins/base.ini
##
## LDAP Backup
##
cat <<EOF > /etc/cron.d/ldapbackup
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
32 1 * * * root ansi_colors=no dayold=3 nbold=15 ldapdump_to_dir /var/backups
EOF
Loading…
Cancel
Save