Topic: [Problem][solved] ldap; backup don't work
i haven't worked with ldap since now, only used sql database servers. i have choosen to use ldap for iredmail (pro admin) because of having more features (i would exchance ldap version with mysql version if i could (would be great if the database abstraction feature would not be packed in a 2nd version of the programm)).
the backup results in i quite short file, see below. all my accounts are not there. what i found in google, also said that the backup, which is using slapcat, should work and dump the whole database, but it does not work.
also if i call slapcat direct on the command-line i only get the short output.
if i connect myself with the phpldapadmin, there is no problem, i can see domain and user.
any help is welcome.
the backup script only:
dn: dc=mydomain,dc=com
objectClass: top
objectClass: dcObject
objectClass: organizcomion
o: mydomain.com
dc: mydomain
structuralObjectClass: organizcomion
entryUUID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
crecomorsName: cn=admin,dc=mydomain,dc=com
crecomeTimestamp: 20110323043759Z
entryCSN: 20110323043759.391623Z#000000#000#000000
modifiersName: cn=admin,dc=mydomain,dc=com
modifyTimestamp: 20110323043759Z
dn: cn=admin,dc=mydomain,dc=com
objectClass: simpleSecurityObject
objectClass: organizcomionalRole
cn: admin
description: LDAP administrcomor
userPassword:: passwordhash
structuralObjectClass: organizcomionalRole
entryUUID: yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
crecomorsName: cn=admin,dc=mydomain,dc=com
crecomeTimestamp: 20110323043759Z
entryCSN: 20110323043759.395618Z#000000#000#000000
modifiersName: cn=admin,dc=mydomain,dc=com
modifyTimestamp: 20110323043759Z
backup log
* Starting backup: 2011.05.11.14.22.46.
* Log file: /backup/logs/2011.05//ldap-2011.05.11.14.22.46.log.
* Backup copies: /backup/ldap/2011.05/2011.05.11.
* Dumping LDAP data into file: /backup/ldap/2011.05/2011.05.11/2011.05.11.14.22.46.ldif...
Done
* File size:
4.0K /backup/ldap/2011.05/2011.05.11/2011.05.11.14.22.46.ldif.bz2
* Backup complete.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.