Provided by: kamailio_4.0.4-1ubuntu2_amd64 

NAME
kamdbctl - Kamailio database control tool
SYNOPSIS
kamdbctl command [ parameters ]
DESCRIPTION
kamdbctl is a script to maintain the database needed by some Kamalio modules.
Configuration
Before you can use kamdbctl you have to select a database engine in the kamctlrc file. Just change the
DBENGINE parameter in the respective section in kamctlrc.
Valid values are: MYSQL, PGSQL, ORACLE, DB_BERKELEY, DBTEXT.
The default is 'none'.
The username, password, database name and other settings can be configured by editing the kamctrl script.
COMMANDS
backup <file> Dumps the current database to a file.
copy <new_db>
Creates a new database from an existing one.
create <db name or db_path, optional>
Creates a new database with the specified name, or the default if no name is given.
drop <db name or db_path, optional>
Entirely deletes the database with the specified name, or the default if no name is given.
extra Adds the extra tables
migrate <old_db> <new_db>
Migrates database tables from an old version to the actual version.
presence
Adds the presence related tables.
reinit <db name or db_path, optional>
Entirely deletes and than re-creates tables.
restore <file>
Restores tables from a file.
NOTES
Not all databases scripts support all commands.
FILES
/etc/kamailio/.kamctlrc
/usr/local/etc/kamailio/.kamctlrc
~/.kamctlrc
AUTHORS
see /usr/share/doc/kamailio/AUTHORS
SEE ALSO
kamailio(8), kamailio.cfg(5)
Full documentation on Kamailio is available at http://www.kamailio.org/.
Mailing lists:
users@lists.kamailio.org - Kamailio user community
devel@lists.kamailio.org - Kamailio development, new features and unstable version
Kamailio 05.02.2009 kamdbctl(8)