Hi Fabio,

   The apacheds-tools are currently broken because of the numerous changes done 
as part of improving the
   server.

   If you want to export your data I suggest you to use Studio [1] its export 
feature is capable of exporting
   data to various formats like LDIF, csv etc..

   Feel free to post if this doesn't satisfy your needs

 [1] http://directory.apache.org/studio/

Kiran Ayyagari

fabio marinelli wrote:
I'm trying to use apache-tools on DS 1.5.4 to dump from a running
instance... but when I enter the following command

java -jar apacheds-tools.jar dump -i c:\Lavori\apacheds_1.5.4 -f
c:\Lavori\apacheds_1.5.4\dump.dat -p example

I get this response:

       _                     _          ____  ____    _____           _
      / \   _ __   __ _  ___| |__   ___|  _ \/ ___|  |_   _|__   ___ | |___
     / _ \ | '_ \ / _` |/ __| '_ \ / _ \ | | \___ \    | |/ _ \ / _ \| / __|
    / ___ \| |_) | (_| | (__| | | |  __/ |_| |___) |   | | (_) | (_) | \__ \
   /_/   \_\ .__/ \__,_|\___|_| |_|\___|____/|____/    |_|\___/ \___/|_|___/
           |_|

loading settings from: c:\Lavori\apacheds_1.5.4\conf\server.xml
log4j:WARN No appenders could be found for logger
(org.apache.xbean.spring.context.FileSystemXmlApplicationContext).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main"
org.apache.directory.shared.ldap.exception.LdapConfigurationException: The
following schema directory from the installation layout could not be found:
        c:\Lavori\apacheds_1.5.4\var\partitions\schema
        at
org.apache.directory.server.tools.DumpCommand.loadRegistries(DumpCommand.java:140)
        at
org.apache.directory.server.tools.DumpCommand.execute(DumpCommand.java:187)
        at
org.apache.directory.server.tools.ApachedsTools.main(ApachedsTools.java:116)


have some of you experienced this same problem?
Or can you suggest an alternative way to backup the entire partition?

Thanks in advance

Reply via email to