[asterisk-users] astdb and Debian : can't use db4.5_dump

Philipp Kempgen philipp.kempgen at amooma.de
Tue Feb 24 09:40:01 CST 2009


Olivier schrieb:
> 2009/2/24 Steve Howes <steve at geekinter.net>
>> On 24 Feb 2009, at 12:37, Olivier wrote:

>> > On Lenny, I typed "apt-get install db4.5-util " then (as root) :
>> >
>> > # db4.5_dump /var/lib/asterisk/astdb
>> > db4.5_dump: /var/lib/asterisk/astdb: unexpected file type or format
>> > db4.5_dump: open: /var/lib/asterisk/astdb: Invalid argument
>> >
>> > # file /var/lib/asterisk/astdb
>> > /var/lib/asterisk/astdb: Berkeley DB 1.85/1.86 (Btree, version 3,
>> > native byte-order)
>> >
>> > Is db4.5_dump appropriate to dump an Asterisk database ?
>>
>> Apparently not... its a Berkeley DB version 1

> So the concensus is db4.5_dump is not appropriate.
> 
> Which is the appropriate tool ?
> In another thread, I mentioned I couldn't find any db_dump185.c file in my
> system though /usr/src/bristuff../asterisk/main/db1-ast/Makefile explicitely
> mentions a db_dump185 target coming from this db_dump185.c.

Somewhat related to this thread:
http://lists.digium.com/pipermail/asterisk-users/2009-January/225950.html


    Philipp Kempgen
-- 
AMOOCON 2009, May 4-5, Rostock / Germany   ->  http://www.amoocon.de
Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied  ->  http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
-- 



More information about the asterisk-users mailing list