dump-wiki - dump a wiki to STDOUT
# 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
Takes two mandatory arguments:
The type of the database. Possible values are pg (for Postgres), mysql for MySQL and sqlite for SQLite.
pg
mysql
sqlite
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:
The username for the database.
The password for the database.
Max Maischein (corion@cpan.org)
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.
CGI::Wiki::Simple
To install CGI::Wiki::Simple, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::Wiki::Simple
CPAN shell
perl -MCPAN -e shell install CGI::Wiki::Simple
For more information on module installation, please visit the detailed CPAN module installation guide.