mg_mkconfig

Name

mg_mkconfig -- Create NSCLDAQ Manager ConfigurationDatabase

Synopsis

$DAQBIN/mg_mkconfig config-file

DESCRIPTION

Creates an NSCLDAQ manager configuration database file into the named config-file. The command creates all of the tables, indices and other schema elements required by the manager as well stocking initial values into the database tables.

It is safe to run the command on an existing database and, if the schema change, that is the recommended way to convert an older database file to more recent version.

Iit is also safe to run the command on an existing database file that does not have a conflicting schema providing support to extend configuration databases to contain experiment metadata the manager is blind to.

EXAMPLES


$DAQBIN/mg_mkconfig e2022-config.db
        

Creates a manager configuration database file into e2022-config.db in the current workingdirectory.