GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  ASTDB2BDB (8)

NAME

astdb2bdb - convert astdb back to Berkeley DB 1.86

CONTENTS

Synopsis
Options
Examples
Notes
See Also
Author

SYNOPSIS

cd astvarlibdir && astdb2bdb path/to/astdb.sqlite3

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 the newly-formatted SQLite 3 astdb back to bdb.

You may need it in case of reverting an upgrade or other similar scenarios.

OPTIONS

There is a single (and required) parameter: the path the the sqlite file. The output file will be a file called astdb in the current working directory.

EXAMPLES

In case you want to revert an upgrade to Asterisk 11, you can do the following (while Asterisk is not running):

cd /var/lib/asterisk && astdb2bdb astdb.sqlite3 && rm astdb.sqlite3

This will convert the newly-formatted astdb back to the old format, and delete it (to avoid obsolete data copies).

NOTES

Berkeley DB 1.86 is obsolete. It is incompatible with newer versions (4.x and newer) that you may see around. Chances are you don’t have the tools to use it independently of Asterisk.

SEE ALSO

astdb2sqlite3(8), asterisk(8)

AUTHOR

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

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

Search for    or go to Top of page |  Section 8 |  Main Index


Asterisk 11 ASTDB2BDB (8) 30 SEPTEMBER 2013

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.