directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Karasulu (JIRA)" <directory-...@incubator.apache.org>
Subject [jira] Closed: (DIREVE-321) Need a dump tool to extract LDIF from JDBM database
Date Tue, 17 Jan 2006 22:51:42 GMT
     [ http://issues.apache.org/jira/browse/DIREVE-321?page=all ]
     
Alex Karasulu closed DIREVE-321:
--------------------------------

    Resolution: Fixed

A rough dump tool was committed in revision 369946 here.  The tool stinks as is and will dump
a simple ldif of the partition contents.  It needs some work but this can be done any time
here's what I'd like to see done to/for it:

* Let's refactor it as a POJO and have a main to run it.
* Make main use some commandline option processing toolkit.
* Add usage message.
* Add option to filter out some attributes (operational ones for example)
* IMPORTANT: Add fault tolerance so it does not fail fast.  Right now it bombs on an exception.
 If an entry cannot be extracted then we can note this.  We need to handle failures and continue
to dump.

  

> Need a dump tool to extract LDIF from JDBM database
> ---------------------------------------------------
>
>          Key: DIREVE-321
>          URL: http://issues.apache.org/jira/browse/DIREVE-321
>      Project: Directory Server
>         Type: New Feature
>     Reporter: Alex Karasulu
>     Assignee: Alex Karasulu
>     Priority: Critical
>      Fix For: 0.9.4

>
> We're in need of a tool that dumps the contents of the jdbm database as an LDIF.  This
tool is meant to be used if the server cannot start of the database is corrupt for some reason.
 It should try its best to extract as much data as it can from the database using the master
table and the dn index.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message