NAME

ftndbadm - Administration of an SQL database for Fidonet/FTN processing.

VERSION

Version 0.35

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 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=ftndb; 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:

SEE ALSO

L<ftndbadm>, L<ftndb-admim>, L<ftndb-nodelist>, L<FTNDB>, L<FTNDB::Command::create>,
 L<FTNDB::Command::drop>, L<FTN::Database>, L<FTNDB::Config>

COPYRIGHT & LICENSE

Copyright 2012 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.