Bug#467640: backupninja: compressed ldap backup with slapcat fails

2008-02-26 Thread Floris Bruynooghe
Hello Micah

On Tue, Feb 26, 2008 at 05:50:49PM -0500, Micah Anderson wrote:
> Can you please try release 0.9.5-3 of backupninja, which I believe may
> have a fix to this problem?

Works fine with 0.9.5-3!  Thanks for the quick reponse.

Floris

-- 
Debian GNU/Linux -- The Power of Freedom
www.debian.org | www.gnu.org | www.kernel.org



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



Bug#467640: backupninja: compressed ldap backup with slapcat fails

2008-02-26 Thread Micah Anderson

Hi,

Thanks for your bug report.

Can you please try release 0.9.5-3 of backupninja, which I believe may
have a fix to this problem? 

You can install the package from testing without any need for a backport.

Micah



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



Bug#467640: backupninja: compressed ldap backup with slapcat fails

2008-02-26 Thread Floris Bruynooghe
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  dialog1.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]