LDAP RESTORE BACKUP

sebastian sanchez grupodixis at gmail.com
Wed Dec 20 18:33:38 CET 2006


i do:
/kolab/bin/openpkg rc openldap stop

OpenPKG: stop: openldap.

bonnin:/kolab/etc/postfix# /kolab/sbin/slapadd -l /backup/kolab_ldap_db.ldif

slapadd: could not add entry dn="dc=bonnin,dc=com" (line=12):
txn_aborted! DB_KEYEXIST: Key/data pair already exists (-30996)
bonnin:/kolab/etc/postfix#

On 12/20/06, Andrew J. Kopciuch <akopciuch at bddf.ca> wrote:
> On Wednesday 20 December 2006 09:13, sebastian sanchez wrote:
> > i follow this indications from wiki to backup kolab:
> >
> > LDAP data backups (openldap)
> > Use the "slapcat" utility as follows:
> > /kolab/sbin/slapcat -l /path/to/file/kolab_ldap_db.ldif
> > The .ldif file is a normal text file that can be backed up using TAR
> > or any equivalent utility.
> > This LDIF file will still work even if the database format or software
> > changes. To import/export LDAP data, you can use also: phpLDAPadmin , LDAP
> > account manager
> >
>
> When using slapcat, and slapadd ... the LDAP server should not be running.
>
> Try that,
>
>
> Andy
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users
>


-- 
Si  pones Fe en la mentira, la mentira sera tu Fe.




More information about the users mailing list