Re: How use and manage a Berkeley DB 1.85?

2008-03-23 Thread Martin Schweizer
Hello Nicolas

Sorry for the delay. I know Berkeley 1.85 from Cyrus SASL. If you install 
/ports/databases/db42 you get dump (to a text file)  and restore tools. They 
are called db42_... and are located in /usr/local/bin. In 
/usr/local/share/doc/db42 are some docs.

Regards,


Am Wed, Mar 12, 2008 at 11:05:30AM +0100 Nicolas Letellier schrieb:
 Hello,
 
 I have a db Berkeley DB 1.85. I have softwares which use it.
 I would like to know how manage it? How show all datas contained? How 
 delete a data? How insert a data?
 Is there a port to do this?
 
 
 Thanks.
 
 - Nicolas.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 

Martin Schweizer
[EMAIL PROTECTED]

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How use and manage a Berkeley DB 1.85?

2008-03-12 Thread Ivan Voras
Nicolas Letellier wrote:
 Hello,
 
 I have a db Berkeley DB 1.85. I have softwares which use it.
 I would like to know how manage it? How show all datas contained? How
 delete a data? How insert a data?
 Is there a port to do this?

BDB is a single-file key-value database. It's not a SQL or any other
transactional database, and it's fairly simple to program for.
Unfortunately I don't think there are any friendly utilities to inspect
the data. If you know any programming language (C, Python, Perl...),
it's almost trivial to write one.

See http://www.freebsd.org/cgi/man.cgi?query=dbopen and the manual pages
linked from there.



signature.asc
Description: OpenPGP digital signature