dbupdate(8)

NAME
dbupdate - perl based update client for the RIPE Database software package

SYNOPSIS

dbupdate [ -M ] [ -v ] [ -V ] [ file... ]

DESCRIPTION

dbupdate is an update client for the RIPE database software package. It will read RIPE database like objects from mentioned files or standard input, and will try and process them in the appropriate database files. The database file and indexes are automatically altered. Due to the nature of the update mechanism, the database will be clobbered with data, and should therefore be cleaned regularly (see indexdb(8)). The objects must have a "source" attribute, since this is used to find the correct database file in which this object should be updated. This association between the source and the database files is made in the config file. The client uses appropriate locking of database files, therefore it should be possible to run multiple of these clients at the same time on the same database. The client will output all objects that will generate warnings and errors, generated by object definition syntax checks, value syntax checks, and update checks. If the verbose flag is turned on, it will also report on objects that generated no errors or warnings, otherwise it will not. The client can perform ADD, MODIFY and DELETE actions. The default action is "ADD or MODIFY", ie it will add a object when this is not present in the database yet, or modify when it is already present. A delete can be forced by adding a "delete:" attribute to the object to be deleted. Dbupdate will log all input processed and acknowledgements generated to files called "YYMMDD" (as in Year, Month, Day) in directories specified in the config file (see UPDLOG and ACKLOG in the config file). This is in addition to the logfile if specified with the -l flag. It uses various other log files as defined in the config file for things like auditing and logging errors.

OPTIONS

-M  mail processing mode. dbupdate now expects that its input is a mail message with all the appropriate header information. After processing the updates inside the input, dbupdate will compose an email message based on the headers found in the input, and send all the normal acknowledgement output via email to the sender of the input.

-v  verbose mode, it will now also report on objects that generated no errors or warnings.

-V  verbose (debug output). This option should not be used in normal operation.

file
    file to read objects from. Objects in this file must be seperated by empty lines to mark the end of an object.

SEE ALSO
indexdb(8)

BUGS

Probably.

AUTHOR

Marten Terpstra, RIPE Network Coordination Centre <marten@ripe.net> Second release: David Kessens, RIPE Network Coordination Centre <david@ripe.net> Please send bug reports to: <ripe-dbm@ripe.net>