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

Olivier oza-4h07 at myamail.com
Tue Feb 24 09:08:43 CST 2009


2009/2/24 Steve Howes <steve at geekinter.net>

>
> On 24 Feb 2009, at 12:37, Olivier wrote:
>
> > Hi,
> >
> > 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
>
> _______________________________________________
> -- 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
>

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090224/f477c1b3/attachment.htm 


More information about the asterisk-users mailing list