man8/dnload2

Table of Contents

Name

dnload2 - download database tables to server

Synopsis

dnload2 <long arguments> <files>

Description

This program downloads database tables to dbman. There is normally one file for each table to download. The program can handle files with mixed tuples of the newer type in which each line states which table it is from.

This program differs from dnload in that it takes it’s files in a .lst text format instead of the .db binary format.

Generally certain tables must precede other tables for downloading to succeed.

Arguments

Argument processing is done using Unix long argument syntax

--dbman_host <hn>

The host where dbman(8) is running.

If this argument is not present the default is "localhost". The DBMAN_HOST environment variable is used if present.

--live <mode>

With this option passed the database updates are passed along. Otherwise it runs in a checking mode to verify that the data is sane before sending it along. There are two modes of operation, add or mod which are fairly self explanitory.
--show_all_cnt

When record count printing is enabled by --verbose >= 1 then normally counters with zero values aren’t printed. This causes all counter values to be printed.
--verbose=<n>

Normally the program does it’s work silently. This causes it to print several messages on startup.

The argument is optional, if not given it defaults to 1.

--help

print the help info and exit.
files

Multiple arguments specifying the files containing the AccelNET database files.

Environment Variables

DBMAN_HOST

The host where dbman is running. Use this or use the --dbman_host option. if both are present --dbman_host option overrides DBMAN_HOST

Notes

Usually the dbload script performs the function of calling this program.

Examples

dnload --dbman_host csdev1 --verbose RefName.lst MsgKey.lst

Manual Page Revision

$Id: dnload2.8,v 1.3 2008/03/25 12:51:45 kitchen Exp $


Table of Contents