The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

infobot_import - import an old infobot brain into new infrastructure

SYNOPSIS

    infobot-import dsn [user [password]]

USAGE

If you're using a stock infobot then changing to the directory where the bot stores its config. There should be files lying around like <botname>-is.(dir|pag). Then do :

    infobot-import <botname>

If it's a modified infobot using the DBI backend then doing something like

    infobot-import dbi:mysql:<dbname> <username> <password>

should work.

You can also import factoids from factpacks such as the ones at

    http://www.infobot.org/snapshots/factpacks/

by doing

    infobot-import <filename>

where filename ends in .fact.

It should be noted that if you have a lot of items then the Storable backend, whilst quick, will bloat up to a lot of memory. the DBI backend is slow but efficient. The Deep backend is a good compromise.

DESCRIPTION

This program will import the values for an existing, old style infobot into a new style.

infobot factoids
seen lists
karma
ignore lists

it will look in the current directory for an infobot.config for which Bot::BasicBot::Pluggable::Store backend to use.

See the infobot documentation for details on the Store config keys.

AUTHOR

Simon Wistow <simon@thegestalt.org>

COPYRIGHT

Copyright 2005, Simon Wistow

Distributed under the same terms as Perl itself