NAME
ftndbadm - Administration of an SQL database for Fidonet/FTN processing.
VERSION
Version 0.39
DESCRIPTION
Administration of a database for Fidonet/FTN related processing. The SQL database engine is one for which a DBD module exists, defaulting to SQLite.
SYNOPSIS
ftndbadm -c config_file [options] create|drop database name
ftndbadm -c config_file [options] create|drop table name
ftndbadm [-h | --help]
ftndbadm --version
OPTIONS
- -c
-
This is the filename and path of a configuration file, with the default being ftndb.cfg in the current directory.
- -x
-
Debug option.
- -v
-
Verbose option.
COMMANDS
- create database name
-
This will create a database an SQL database server being used for Fidonet/FTN processing, where name is the name of the database to be created. If it already exists, it will drop it first, before going on to create it again.
- drop database name
-
This will drop a database if it exists in an SQL database server being used for Fidonet/FTN processing, where name is the name of the database to be dropped.
- create table name
-
This will create a nodelist table in an SQL database being used for Fidonet/FTN nodelist processing, where name is the name of the table to be created. If it already exists, it will be dropped it first before going on to create it again.
- drop table name
-
This will drop a database table if it exists in an SQL database server being used for Fidonet/FTN processing, where name is the name of the table to be dropped.
CONFIGURATION
See App::FTNDB::Config for details regarding configuration of the application.
EXAMPLES
Given that $CFGFILE is a configuration file, the following command line can be used to create an FTN Nodelist table in that database file:
ftndbadm -c $CFGFILE -v create table Nodelist
AUTHOR
Robert James Clay, <jame at rocasa.us>
BUGS
Please report any bugs or feature requests via the web interface at https://sourceforge.net/p/ftnpl/ftndb/tickets/. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
Note that you can also report any bugs or feature requests to bug-ftndb at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=App-FTBDB; however, the ftndb Issue tracker is preferred.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc ftndbadm
You can also look for information at:
FTN Database application issue tracker
RT: CPAN's request tracker
Search CPAN
SEE ALSO
L<ftndbadm>, L<ftndb-admim>, L<ftndb-nodelist>, L<App::FTNDB>, L<App::FTNDB::Command::create>,
L<App::FTNDB::Command::drop>, L<FTN::Database>, L<App::FTNDB::Config>
COPYRIGHT & LICENSE
Copyright 2012-2013 Robert James Clay, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.