Package: backupninja
Version: 0.9.4-6
Severity: normal

Hi

When using LDAP backup with "compress = yes" and "method = slapcat" in
a /etc/backup.d/21-local.ldap file the backup fails:

# backupninja -d --run 21-local.ldap 
Debug: check_perms 21-local.ldap
Debug: perms: -rw-r-----
Debug: gperm: r--
Debug: wperm: ---
Debug: check_perms 21-local.ldap
Debug: perms: -rw-r-----
Debug: gperm: r--
Debug: wperm: ---
Info: >>>> starting action 21-local.ldap (because of --now)
Debug: yes
Debug: /usr/sbin/slapcat -f /etc/ldap/slapd.conf -b dc=clockhouse |
/bin/gzip
usage: slapcat [-v] [-d debuglevel] [-f configfile] [-F configdir] [-c]
[-g] [-n databasenumber | -b suffix] [-l ldiffile] [-a filter]
Warning: Failed ldif export of dc=clockhouse
Warning: <<<< finished action 21-local.ldap: WARNING
Debug: send report to [EMAIL PROTECTED]
Info: FINISHED: 1 actions run. 0 fatal. 0 error. 1 warning.

When setting "compress = no" in the .ldap file however it works fine:

# backupninja -d --run 21-local.ldap 
Debug: check_perms 21-local.ldap
Debug: perms: -rw-r-----
Debug: gperm: r--
Debug: wperm: ---
Debug: check_perms 21-local.ldap
Debug: perms: -rw-r-----
Debug: gperm: r--
Debug: wperm: ---
Info: >>>> starting action 21-local.ldap (because of --now)
Debug: yes
Debug: /usr/sbin/slapcat -f /etc/ldap/slapd.conf -b dc=clockhouse
Info: Successfully finished ldif export of dc=clockhouse
Info: <<<< finished action 21-local.ldap: SUCCESS
Debug: send report to [EMAIL PROTECTED]
Info: FINISHED: 1 actions run. 0 fatal. 0 error. 0 warning.


It would be nice to be able to use compression.

Regards
Floris


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages backupninja depends on:
ii  bash                      3.1dfsg-8      The GNU Bourne Again SHell
ii  dialog                    1.0-20060221-3 Displays user-friendly dialog boxe
ii  mawk                      1.3.3-11       a pattern scanning and text proces

backupninja recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to