Reading Berkely DB

Sundar plug-discuss@lists.plug.phoenix.az.us
Mon, 14 Oct 2002 14:29:31 -0700


I am looking to recover the LDAP data that I last from upgrading my 
server from 7.1 to 8.0. I did not back it up as ldif file. The RedHat 
8.0 was so cool on my desktop, I went and upgraded my server in haste; 
now I am paying for it :-[ .

Sundar

Kevin Buettner wrote:

>On Oct 14,  9:54am, Sundar wrote:
>
>  
>
>>Is there any  program that could dump what's in the Berkeley DB to text 
>>file or display it in human readable form?
>>    
>>
>
>As I recall, Berkeley DB provides facilities to look up some arbitrarily
>formatted data given an arbitrarily formatted key.  The structure of the
>key and its associated data are determined by the program making use of
>the Berkeley DB library.
>
>So... a program that does what you want would have to know the format
>of the keys and data.  That said, there are some programs that have
>been written for certain applications of Berkeley DB that will do what
>you want, but only for those applications.  E.g, the ``makemap'' program
>is used to create sendmail databases in Berkeley DB format.  The -u
>option may be used to print the contents of these databases in human
>readable form.
>
>Kevin
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
>To subscribe, unsubscribe, or to change  you mail settings:
>http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>  
>