ASTDB2SQLITE3(8)
π ASTDB2SQLITE3 π
okay bestie, so this is the manual page for astdb2sqlite3 from section 8 (that's the sysadmin / maintenance girlies section, iykyk) β¨
β¨ NAME β¨
astdb2sqlite3 β convert astdb to SQLite 3 π¦
πΈ SYNOPSIS πΈ
astdb2sqlite3 path/to/astdb
π DESCRIPTION π
so here's the lore π β up until version 11, Asterisk was storing its internal persistent database in an old version of the Berkeley DB 1.86 (aka bdb). then in version 11 it said "new era" and switched over to a SQLite 3 database instead. iconic behavior honestly.
this program right here? it's the glow-up machine π« it takes an existing bdb astdb file and converts it into astdb.sqlite3.
normally Asterisk runs this thing itself when it's doing the conversion, no input needed from you. but sometimes you gotta run it on your own, and that's valid π«Ά
π OPTIONS π
there's literally one option and it's required, no skips:
path/to/astdbβ the path to thebdbfile. that's it, that's the whole parameter list. the output file name is gonna be the same as the input name, just with.sqlite3appended to the end. so simple. so clean. slay.
π EXAMPLES π
Asterisk will typically run the following when it's upgrading the database:
astdb2sqlite3 /var/lib/asterisk/astdb
and boom π₯ that creates /var/lib/asterisk/astdb.sqlite3. chef's kiss.
π SEE ALSO π
π AUTHOR π
astdb2sqlite3 was written by Terry Wilson <twilson@digium.com> π
this manual page was written by Tzafrir Cohen <tzafrir.cohen@xorcom.com> π
fr fr that's the whole page, no cap. go convert that database bestie π¦
Asterisk 11 Β· 30 SEPTEMBER 2013 β ok that's the version and the date, periodt. this page has been serving c*nt since 2013 and it still ate π β¨
π¦ where this page comes from
- alpine 3.22: asterisk-doc 20.11.1-r6 Β· GPL-2.0-only WITH OpenSSL-Exception
- alpine 3.23: asterisk-doc 20.15.2-r1 Β· GPL-2.0-only WITH OpenSSL-Exception
- alpine 3.24: asterisk-doc 22.9.0-r0 Β· GPL-2.0-only WITH OpenSSL-Exception
- epel 9: asterisk 18.26.4-1.el9 Β· GPL-2.0-only
- fedora 43: asterisk 18.12.1-1.fc43.15 Β· GPL-2.0-only
- fedora 43: asterisk 18.12.1-1.fc43.15 Β· GPL-2.0-only
- fedora 43: asterisk 18.26.4-1.fc43 Β· GPL-2.0-only
- fedora 43: asterisk 18.26.4-1.fc43 Β· GPL-2.0-only
- fedora 44: asterisk 18.12.1-1.fc44.17 Β· GPL-2.0-only
- fedora 44: asterisk 18.12.1-1.fc44.17 Β· GPL-2.0-only
- fedora 44: asterisk 18.26.4-1.fc44 Β· GPL-2.0-only
- fedora 44: asterisk 18.26.4-1.fc44 Β· GPL-2.0-only
- nixos 26.05: asterisk-ldap 22.11.0
- nixpkgs unstable: asterisk-ldap 22.11.0
- ubuntu jammy: asterisk 1:18.10.0~dfsg+~cs6.10.40431411-2 Β· GPL-2-Asterisk
- ubuntu noble: asterisk 1:20.6.0~dfsg+~cs6.13.40431414-2build5 Β· GPL-2-Asterisk
- ubuntu resolute: asterisk 1:22.5.2~dfsg+~cs6.15.60671435-1 Β· GPL-2-Asterisk
- ubuntu stonking: asterisk 1:22.10.0+dfsg+~cs6.17.60671434-1ubuntu3 Β· GPL-2-Asterisk
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms