SYNOPSIS

bantool-ratbox -h bantool-ratbox -i [-f DBFILE] [-s] [-p] [-d] [-w] [-v] [OLDCONFDIR] bantool-ratbox -e [-f DBFILE] [-s] [-v] [OLDCONFDIR] bantool-ratbox -u [-f DBFILE] [-s] [-v]

DESCRIPTION

bantool-ratbox is a tool used to import, export, and update the ban database. The import/export operation is useful when migrating from an old ircd ratbox server. It can also be used to redistribute ban lists and create backups. The upgrade operation should be done whenever the ircd server is upgraded.

OPTIONS

-h

Show summary of options.

-i

Import the (old) configuration files into the database.

-e

Export the database content into configuration files.

-u

Upgrade the database.

-f DBFILE

Set the database file (defaults to /etc/ircd-ratbox/ban.db).

-s

Reclaim empty slack space the database may be taking up.

-p

Dry run, checking configuration, but without touching the database.

-d

Allow redondant entries (unlike what the help screen pretends).

-w

Completely wipe the database before importing.

-v

Verbose mode (only useful for debugging).

OLDCONFDIR

Set the (old) configuration directory (defaults to /etc/ircd-ratbox).

AUTHOR

Marc `Duck` Dequènes <[email protected]>

Original author.

COPYRIGHT

Copyright © 2011 Marc Dequènes (Duck)

This manual page was written for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or any later version published by the Free Software Foundation.

On Debian systems, the complete text of the GNU General Public License version 3 can be found in /usr/share/common-licenses/GPL-3.