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

Olivier oza-4h07 at myamail.com
Tue Feb 24 10:33:44 CST 2009


2009/2/24 Philipp Kempgen <philipp.kempgen at amooma.de>

> 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


Yes, that's a follow up on this thread !
As I discovered  db4.5-util , I thought it could be worth trying ...

It seems to me, now,  it's not the case  I should try
http://search.cpan.org/dist/DB_File/DB_File.pm

which I wanted to avoid as I'm not used to play with Perl (nobody's perfect
anyway ;)))

<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
> --
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090224/2a774085/attachment.htm 


More information about the asterisk-users mailing list