Feature #208

add compression to ldap database backup

Added by James Lever about 2 years ago. Updated about 2 years ago.

Status:Closed Start:03/05/2010
Priority:Normal Due date:
Assigned to:Clément OUDOT % Done:

100%

Category:OpenLDAP init script
Target version:openldap-initscript-1.0

Description

I prefer to have all of my database backups compressed by default.

Here is a patch (attached file) to do that, with the warnings extend. Sorry I did extend it to include a configuration option.

And output to show it working:

[root@scalzi ~]# /sbin/service slapd backup
slapd21978: [INFO] Using /etc/default/slapd for configuration
slapd21983: [INFO] Launching OpenLDAP database backup...
slapd22027: [OK] data save in /var/backups/openldap/openldap-data-20100503084755.ldif.bz2

init.d-slapd.bz2-patch - patch to /etc/init.d/slapd to support bzip2 compression by default (593 Bytes) James Lever, 03/05/2010 01:05

History

Updated by Clément OUDOT about 2 years ago

  • Status changed from New to Assigned
  • Assigned to set to Clément OUDOT

Great patch! I will add configuration options and then commit it.

Thanks!

Updated by Clément OUDOT about 2 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Done in r72.

Also available in: Atom PDF