ibid-db(1)

ibid-db1

Database management utility for ibid

Usage

ibid-db command [options ...]

Overview

This utility is for offline management of your Ibid bot's database. Used for import, export, and upgrades.

The export format is DBMS-agnostic and can be used to migrate between different databases.

Commands

-e FILE, --export=FILE

Export DB contents to FILE. Export format is JSON.

FILE can be - for stdin/stdout or can end in .gz for automatic gzip compression.

-i FILE, --import=FILE

Import DB contents from FILE as exported by this utility.

FILE can be - for stdin/stdout or can end in .gz for automatic gzip compression.

Note: The DB must be empty first.

-u, --upgrade

Upgrade DB schema to the latest version. You need to run this after upgrading your bot.

Note: You should backup first.

Options

--version

Show the program's version and exit.

-h, --help

Show a help message and exit.

-v, --verbose

Turn on debugging output to stderr.

Files

ibid.ini

Locates the database to act upon by looking for the [databases].ibid value in the bot configuration file in the current directory.

Releases

Unchanged in 4 releases since Debian 6.0 (Squeeze).

  1. 6.0–9

From ibid 0.1.1+dfsg-4 in Debian 9 (Stretch). Parsed by carta from the page's man source.