Scroll to navigation

opensipsdbctl(8) OpenSIPS opensipsdbctl(8)

NAME

opensipsdbctl - control tool for maintaining OpenSIPS databases

SYNOPSIS

opensipsdbctl

opensipsdbctl command [ parameters ]

DESCRIPTION

opensipsdbctl is a control tool for maintaining OpenSIPS SIP server databases. It can be used to create, migrate, copy, delete, dump and restore the persistence databases for OpenSIPS, on the supported Engines.

FILES

/etc/opensips/opensipsdbctlrc
~/.opensipsdbctlrc

COMMANDS

creates a new database
adds the presence related tables
adds the extra tables
migrates DB from 1.5 to 1.6
!entirely deletes tables!
!entirely deletes and than re-creates tables!
dumps current database to file
restores tables from a file
creates a new db from an existing one

lists the underlying db files in DB_PATH
db_dump the underlying db file to STDOUT
installs db.new by db -> db.old; db.new -> db
appends data to an existing db;output DB_PATH/db.new
appends data to a new instance of db; output DB_PATH/db.new
exports table data to plain-txt files in dump_dir
imports plain-txt table data and creates new db tables in db_path

AUTHORS

see /usr/share/doc/opensips/AUTHORS

This manual page was written by Alejandro Rios P. <alerios@debian.org>, based on opensipsctl manpage by Bogdan-Andrei Iancu <bogdan@opensips.org>, for the Debian project (and may be used by others).

SEE ALSO

opensips(8),opensips.cfg(5),opensipsctl(8),osipsconsole(8)

Full documentation on opensips is available at http://www.opensips.org/.

Mailing lists:

users@lists.opensips.org - opensips user community

devel@lists.opensips.org - opensips development, new features and unstable version
22.11.2009 opensips