I had zimbra open source edition 6.0.6 installed on ubuntu 8.04 server. Disk mounted as /opt failed, but i manged to copy the whole directories /opt/zimbra/index and /opt/zimbra/store and dumps of mysql databases.
I had installation files of that version did uninstallation of zimbra and fresh install to new hard disk, stopped zimbra, replaced /opt/zimbra/index /opt/zimbra/store with backed up data, dropped and imported mysql databases.
The only thing i got stuck with - ldap. I have backup done with /opt/zimbra/libexec/zmslapcat /backup command.
I get error when i remove contents of /opt/zimbra/data/ldap and try to import ldap data using slapadd
Are there other ways to import backed up ldif?
zimbra@mail:/opt/zimbra$ ~/openldap/sbin/slapadd -l /opt/ldap/ldap.bak
Unrecognized database type (bdb)
/opt/zimbra/openldap-184.108.40.206z/etc/openldap/slapd.conf: line 53: <database> failed init (bdb)
slapadd: bad configuration file!