Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.
svcfmtm edited this page Feb 2, 2024 · 1 revision

tmdb.py

This program imports existing data from the HOT Tasking Manager into this modified database schema. This would only be done when preserving data from Tasking Manager v4 to Tasking Manager v5.

usage: tmdb.py [-h] [-v [VERBOSE]] [-i INURI] [-o OUTURI] -t TABLE

options:
	-h, --help                 show this help message and exit
	-v, --verbose              verbose output
	-i INURI, --inuri INURI    The URI string for the TM database
	-o OUTURI, --outuri OUTURI The URI string for the TM Admin database
	-t TABLE, --table TABLE    The table to import into

example

For example, this command will import the data for the messages table, from the datbase *localhost/tm4" into the datbase localhost/tm_admin.

./tmdb.py -v -i localhost/tm4 -o localhost/tm_admin -t messages
Clone this wiki locally