Кто-нибудь знает надежный способ сделать резервную копию ApacheDS? Это то, что я пробовал:
- Tried taking the "LDIF export" from ApacheDS Studio. However, the export does not have proper tree structure and hence restoration always fails. This can be avoided by manually arranging the lines inside the LDIF file. However, this is highly error prone and would be really difficult to script even with the best knowledge of REGEX and File handing..
- Besides, there is no programmatic way of taking the "LDIF Export" in first place. This has to be done manually from ApacheDS studio (an Eclipse like application)
- Another way I tried was to take raw files from
/var/lib/apacheds-2.0.0-M15/default/partitions
and restore it as it is to a fresh installation of ApacheDS. However, after this, the ApacheDS service fails to start.- I got the service running fine using the raw LDAP files. This was possible only after uninstalling
apacheds-2.0.0-M15-amd64.deb
and installing the latest available versionapacheds-2.0.0-M19-amd64.deb
. However, the custom partition does not show up in the ApacheDS Studio. huh...
- I got the service running fine using the raw LDAP files. This was possible only after uninstalling
- https://directory.apache.org/apacheds/kerberos-ug/3.6-backup-restore.html не помогает
- Мне не нужно то, что указано в https://serverfault.com/a/331652/114516.
- Я видел создание дампа ldap с использованием примерно
apacheds-tools.jar
из https://cwiki.apache.org/confluence/display/DIRxSRVx10/2.1.2.+ApacheDS+tools. Однако, ради Бога любви, я не могу найти, откуда скачать этот файл jar.
FWIW, я вообще не знаю java-программирования.