astdb2sqlite3(8)

astdb2sqlite38

Convert astdb to sqlite 3

Usage

astdb2sqlite3 path/to/astdb

Overview

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.

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.

Examples

Asterisk will typically run the following to upgrade the database:

astdb2sqlite3 /var/lib/asterisk/astdb

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

Releases

4 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8–9
  2. 10–11

Author

astdb2sqlite3 was written by Terry Wilson <[email protected]>.

This manual page was written by Tzafrir Cohen <[email protected]>.

From asterisk 1:16.28.0~dfsg-0+deb11u4 in Debian 11 (Bullseye). Parsed by carta from the page's man source.