NAME

dump-wiki - dump a wiki to STDOUT

SYNOPSIS

# dump a SQLite wiki

dump-wiki --dbtype sqlite --dbname mywiki.db

# dump a MySQL wiki into the file wiki.txt

dump-wiki --dbtype mysql --dbname mywiki --dbuser wiki --dbpass secret >wiki.txt

DESCRIPTION

Takes two mandatory arguments:

dbtype

The type of the database. Possible values are pg (for Postgres), mysql for MySQL and sqlite for SQLite.

dbname

The name of the file to store the SQLite database in. It will be created if it doesn't already exist.

and up to two optional parameters:

dbuser

The username for the database.

dbpass

The password for the database.

AUTHOR

Max Maischein (corion@cpan.org)

COPYRIGHT

Copyright (C) 2003 Max Maischein.  All Rights Reserved.

This code is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

CGI::Wiki::Simple