Ubuntu 5.10 + Open-XChange 0.8.0-6 Tools, scripts and more documentation
by Diego Fantoma (diego_AT_fantoma.it - http://www.fantoma.it), march 2006
Data backup and restore
su -
slapcat > backup.ldif
su -
/etc/init.d/slapd stop
cd /var/lib/ldap
rm -rf *
/etc/init.d/slapd start
slapadd -l < backup.ldif
su -
pg_dump -U openexchange openexchange > backup.sql
su - postgres
dropdb openexchange
createdb -O openexchange -E UNICODE openexchange
psql openexchange < backup.sql
exit