Jon Portnoy > Bot-Cobalt-0.016002 > cobalt2-dbdump

Download:
Bot-Cobalt-0.016002.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

cobalt2-dbdump - Export Bot::Cobalt::DB databases to YAML

SYNOPSIS ^

  cobalt2-dbdump --database=/path/to/db --output=exported.yml

DESCRIPTION ^

A simple frontend to the dbdump functionality found in Bot::Cobalt::DB.

Exports specified Bot::Cobalt::DB databases to YAML by default; the --format option can be used to specify any other format supported by Bot::Cobalt::Serializer:

  cobalt2-dbdump --format=XML
  cobalt2-dbdump --format=JSON --database=/path/to/db --output=out.json

If the database and/or output options are not specified, the user is prompted for appropriate paths.

AUTHOR ^

Jon Portnoy <avenj@cobaltirc.org>

http://www.cobaltirc.org

syntax highlighting: