Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

wiki-toolkit-setupdb(1p) [debian man page]

WIKI-TOOLKIT-SETUPDB(1p)				User Contributed Perl Documentation				  WIKI-TOOLKIT-SETUPDB(1p)

NAME
wiki-toolkit-setupdb - Set up a database storage backend for Wiki::Toolkit. SYNOPSIS
# Set up or update the storage backend, leaving any existing data # intact. Useful for upgrading from old versions of Wiki::Toolkit to # newer ones with more backend features. wiki-toolkit-setupdb --type postgres --name mywiki --user wiki --pass wiki --host 'db.example.com' # Clear out any existing data and set up a fresh backend from scratch. wiki-toolkit-setupdb --type postgres --name mywiki --user wiki --pass wiki --force-preclear DESCRIPTION
Takes three mandatory arguments: type The database type. Should be one of 'postgres', 'mysql' and 'sqlite'. name The database name. user The user that connects to the database. It must have permission to create and drop tables in the database. two optional arguments: pass The user's database password. host The hostname of the machine the database server is running on (omit for local databases). and one optional flag: force-preclear By default, this script will leave any existing data alone. To force that to be cleared out first, pass the "--force-preclear" flag. AUTHOR
Kake Pugh (kake@earth.li). COPYRIGHT
Copyright (C) 2002-2003 Kake Pugh. All Rights Reserved. Copyright (C) 2006 the Wiki::Toolkit team. 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
Wiki::Toolkit perl v5.14.2 2011-09-25 WIKI-TOOLKIT-SETUPDB(1p)

Check Out this Related Man Page

WIKI-TOOLKIT-DELETE-NODE(1p)				User Contributed Perl Documentation			      WIKI-TOOLKIT-DELETE-NODE(1p)

NAME
wiki-toolkit-delete-node - Delete a node stored in a Wiki::Toolkit instance. SYNOPSIS
# Delete a node in a Wiki::Toolkit instance wiki-toolkit-delete-node --type postgres --name mywiki --user wiki --pass wiki --host 'db.example.com' --port 1234 --nodename MyNodeName wiki-toolkit-delete-node --type postgres --name mywiki --user wiki --pass wiki --host 'db.example.com' --port 1234 --id 2 --version 7 DESCRIPTION
Takes four mandatory arguments: type The database type. Should be one of 'postgres', 'mysql' and 'sqlite'. name The database name. nodename The name of the node to be deleted. id The id of the node to be deleted four optional arguments: user The user that connects to the database. It must have permission to create and drop tables in the database. pass The user's database password. host The hostname of the machine the database server is running on (omit for local databases). port The port number that the database server is expecting connections to. version The version number of the node to delete AUTHOR
Nick Burch COPYRIGHT
Copyright (C) 2006 Nick Burch. 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
Wiki::Toolkit perl v5.14.2 2011-09-25 WIKI-TOOLKIT-DELETE-NODE(1p)
Man Page

5 More Discussions You Might Find Interesting

1. Web Development

wiki -- heard about them, tell me more

I have heard about companies setting up wiki sites to allow for user grops to workshare information via the web. When I said something about this to someone, was told it was a lot of work to setup. Anyone care to comment on what is truly needed? The materials needed, effort required, whether it... (4 Replies)
Discussion started by: joeyg
4 Replies

2. UNIX for Dummies Questions & Answers

wiki

Please i am trying to create an intranet wiki in my work place but i have no idea what to do, please if you can guide me on how to go about it i will really appreciate it. thanks (1 Reply)
Discussion started by: bensen
1 Replies

3. Programming

Need help on Shell script for database maintainace..

Hi All, I have to perform some tasks for database maintainace. I am using postgresql on RHEL 4.4. 1) I have to run "vacuumedb" on the database as postgres user. 2) I have to reindex the database as postgres user. Now i want to write shell script to do these tasks one... (3 Replies)
Discussion started by: ashokkumar.p
3 Replies

4. Shell Programming and Scripting

help copy *.txt to postgres

hi all, a have problem to load *.txt to postgres my database: id_list_ip (nextval) list_ip (varchar) txt file (list_ip.txt) hasilping_10.8.248.1 hasilping_119.110.112.226 hasilping_119.110.125.33 hasilping_125.22.1.25 hasilping_192.168.2.1 hasilping_202.73.96.70 script... (3 Replies)
Discussion started by: adi0926
3 Replies

5. UNIX for Advanced & Expert Users

How to set postgres process in monit file?

Dear Friends, I need to add the postgres process in monit file ( Debian machine ). How to add that process in monit?. If anyone know the solution for this, pls let me know. ---------- Post updated at 02:27 PM ---------- Previous update was at 12:21 PM ---------- I have found the... (0 Replies)
Discussion started by: rekha_sri
0 Replies