logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

astdb2sqlite3 - convert astdb to SQLite 3

Author

       astdb2sqlite3 was written by Terry Wilson <twilson@digium.com>.

       This manual page was written by Tzafrir Cohen <tzafrir.cohen@xorcom.com>.

Asterisk 11                                     30 SEPTEMBER 2013                               ASTDB2SQLITE3(8)

Description

       Up  until  version  version  11,  Asterisk used an old version of the Berkeley DB 1.86 (bdb) to store its
       internal persistent database. In version 11 it switched to using a SQLite 3  database.  This  program  is
       used to convert an existing bdb astdb file to astdb.sqlite3.

       Normally  the  conversion is done by Asterisk itself which will run this program. But you may need to run
       it on your own.

Examples

       Asterisk will typically run the following to upgrade the database:

         astdb2sqlite3 /var/lib/asterisk/astdb

       which will create /var/lib/asterisk/astdb.sqlite3.

Name

       astdb2sqlite3 - convert astdb to SQLite 3

Options

       There is a single (and required) parameter: the path the the bdb file.  The output file name will be  the
       same as the input, with .sqlite3 appended.

See Also

astdb2bdb(8),asterisk(8)

Synopsis

astdb2sqlite3path/to/astdb

See Also