[Kolab-devel] LDAP RESTORE BACKUP
sebastian sanchez
grupodixis at gmail.com
Fri Dec 22 12:28:40 CET 2006
ok with the -c make errors but create al the users again
i solve.
tanks
On 12/22/06, sebastian sanchez <grupodixis at gmail.com> wrote:
> thats tellme
> bonnin:/backup# /kolab/bin/openpkg rc openldap stop
> OpenPKG: stop: openldap.
> bonnin:/backup# /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:/backup#
> and with the -c x10
>
> On 12/21/06, sebastian sanchez <grupodixis at gmail.com> wrote:
> > bonnin:/kolab/sbin# /kolab/sbin/slapadd -c < /backup/kolab_ldap_db.ldif
> > slapadd: could not parse entry (line=12)
> > slapadd: could not parse entry (line=46)
> > slapadd: could not parse entry (line=58)
> > slapadd: could not parse entry (line=70)
> > slapadd: could not parse entry (line=82)
> > slapadd: could not parse entry (line=94)
> > slapadd: could not parse entry (line=107)
> > slapadd: could not parse entry (line=123)
> > slapadd: could not parse entry (line=139)
> >
> > in this lines there is a space line
> > dn: cn=spam,dc=bonnin,dc=com
> > objectClass: kolabSharedFolder
> > cn: spam
> > acl: anyone all
> > kolabHomeServer: bonnin.com
> > structuralObjectClass: kolabSharedFolder
> > entryUUID: da76b57a-238a-102b-8382-b013423f0b71
> > creatorsName: cn=manager,cn=internal,dc=bonnin,dc=com
> > createTimestamp: 20061219085835Z
> > entryCSN: 20061219085835Z#000001#00#000000
> > modifiersName: cn=manager,cn=internal,dc=bonnin,dc=com
> > modifyTimestamp: 20061219085835Z
> >
> > dn: cn=ham,dc=bonnin,dc=com
> > kolabHomeServer: bonnin.com
> > structuralObjectClass: kolabSharedFolder
> > entryUUID: f02a91d4-238a-102b-8383-b013423f0b71
> > creatorsName: cn=manager,cn=internal,dc=bonnin,dc=com
> > createTimestamp: 20061219085911Z
> > objectClass: kolabSharedFolder
> > cn: ham
> > acl: anyone all
> > entryCSN: 20061219085914Z#000001#00#000000
> > modifiersName: cn=manager,cn=internal,dc=bonnin,dc=com
> > modifyTimestamp: 20061219085914Z
> >
> > dn: cn=spambox,dc=bonnin,dc=com
> > objectClass: kolabSharedFolder
> > cn: spambox
> > acl: anyone all
> > kolabHomeServer: bonnin.com
> > structuralObjectClass: kolabSharedFolder
> > entryUUID: d0818dde-238e-102b-8384-b013423f0b71
> > creatorsName: cn=manager,cn=internal,dc=bonnin,dc=com
> > createTimestamp: 20061219092656Z
> > entryCSN: 20061219092656Z#000001#00#000000
> > modifiersName: cn=manager,cn=internal,dc=bonnin,dc=com
> > modifyTimestamp: 20061219092656Z
> >
> > and if i delete al the spaces and save into another file, tell:
> >
> > bonnin:/kolab/sbin# /kolab/sbin/slapadd -c < /backup/kolab_ldap_db2.ldif
> > slapadd: could not parse entry (line=1175)
> >
> > the line is the last one.
> >
> > seba
> >
> > On 12/21/06, Andrew J. Kopciuch <akopciuch at bddf.ca> wrote:
> > > On Wednesday 20 December 2006 10:33, sebastian sanchez wrote:
> > > > i do:
> > > > /kolab/bin/openpkg rc openldap stop
> > > >
> > > > OpenPKG: stop: openldap.
> > > >
> > > > bonnin:/kolab/etc/postfix# /kolab/sbin/slapadd -l
> > > > /backup/kolab_ldap_db.ldif
> > > >
> > >
> > > try :
> > >
> > > /kolab/sbin/slappadd -c < /backup/kolab_ldap_db.ldif
> > >
> > >
> > > Andy
> > >
> > > _______________________________________________
> > > Kolab-devel mailing list
> > > Kolab-devel at kolab.org
> > > https://kolab.org/mailman/listinfo/kolab-devel
> > >
> >
> >
> > --
> > Si pones Fe en la mentira, la mentira sera tu Fe.
> >
>
>
> --
> Si pones Fe en la mentira, la mentira sera tu Fe.
>
--
Si pones Fe en la mentira, la mentira sera tu Fe.
More information about the devel
mailing list