Documentation home

DuroDBMS utilities

Table of Contents

Duroadmin

Synopsis

duroadmin.tcl [envpath]

Description

Duroadmin is a Tcl/Tk script which allows manipulation of Duro databases.

Duroadmin depends on the Tktable package, which is part of ActiveTcl.

If envpath is given, Duroadmin interprets it as a database environment directory and tries to open that environment.

To create a new database within a new environment, first create a new environment by selecting File->Create Environment and entering a new directory or an empty existing directory. Then create a database by selecting Database->Create->Database.

Durodump

Synopsis

durodump.tcl envpath [output_file]

Description

Durodump is a Tcl script which dumps the data of all real tables in the database environment specified by envpath to a file. If the name of the output file is not specified by the output_file argument, the output file will be named restore.tcl.

Restoring the data

The output file of Durodump is a Tcl script which must be run in order to restore the data. The environment directory which is to be restored can be passed as an argument. If no argument is given, the original environment directory is used. The environment directory must exist and is expected to be empty.

Duro D/T

Synopsis

durodt [-e dbenv [-d db]] [file]

Description

Interpreter for Duro's flavor of Tutorial D. If file is given, the interpreter will execute commands from that file. Otherwise, it will read commands from standard input.

Options

-e dbenv
Open the database environment dbenv.
-d db
Set db as the current database.

If Duro D/T has been built with PostgreSQL support, a PostgreSQL URI can be used as an enviroment. PostgreSQL support is currently experimental.

See also

Duro D/T tutorial