| 1 |
.TH "ASTDB2SQLITE3" "8" "30 SEPTEMBER 2013" "Asterisk 11" "" |
| 2 |
|
| 3 |
.SH NAME |
| 4 |
astdb2sqlite3 \- convert astdb to SQLite 3 |
| 5 |
.SH SYNOPSIS |
| 6 |
|
| 7 |
.B astdb2sqlite3 path/to/astdb |
| 8 |
|
| 9 |
.SH "DESCRIPTION" |
| 10 |
Up until version version 11, Asterisk used an old version of the |
| 11 |
Berkeley DB 1.86 (bdb) to store its internal persistent database. In |
| 12 |
version 11 it switched to using a SQLite 3 database. This program is |
| 13 |
used to convert an existing bdb astdb file to astdb.sqlite3. |
| 14 |
|
| 15 |
Normally the conversion is done by Asterisk itself which will run this |
| 16 |
program. But you may need to run it on your own. |
| 17 |
|
| 18 |
.SH OPTIONS |
| 19 |
There is a single (and required) parameter: the path the the bdb file. |
| 20 |
The output file name will be the same as the input, with |
| 21 |
.B .sqlite3 |
| 22 |
appended. |
| 23 |
|
| 24 |
.SH EXAMPLES |
| 25 |
Asterisk will typically run the following to upgrade the database: |
| 26 |
|
| 27 |
astdb2sqlite3 /var/lib/asterisk/astdb |
| 28 |
|
| 29 |
which will create \fB/var/lib/asterisk/astdb.sqlite3\fR. |
| 30 |
|
| 31 |
.SH SEE ALSO |
| 32 |
.B astdb2bdb(8), |
| 33 |
.B asterisk(8) |
| 34 |
|
| 35 |
.SH AUTHOR |
| 36 |
astdb2sqlite3 was written by Terry Wilson <[email protected]>. |
| 37 |
|
| 38 |
This manual page was written by Tzafrir Cohen <[email protected]>. |