Maintain databases and import/export

← Back to overview

All data is stored in SQLite files in the DATA folder
alongside the programs (e.g. C:\Callertoolbox\DATA\CallerToolBox.db).
All databases use a consistent UTF-8 encoding (umlauts
work correctly everywhere).

Which database is used for what

File Contents
CallerToolBox.db Choreography data (calls, tips, tip table), parameters, window positions
KaraokeCaller.db Music file directories (Singing, Hoedown), diary
SDLanguage.db Language components: calls, labels, substitutions, colors/fonts
SDMO.db SDMO projects (project list with working directories)
SDMOMaster.db SDMO master data (template)
SDMOleer.db Empty template for a new SDMO database (copied automatically)
Ideen.db Collection of ideas
.db SDMO project databases (one file per project, containing one table; see SDMO for the working directory)

Switching between data sets

In the program (CallerToolBox: Databases → Switch databases),
you can switch the active data set. Additional data sets (e.g. for
different repertoires) may be available for download from the website in
the future:
Simply copy the downloaded .db file into the DATA
folder — it will then be available for selection.

Creating backups

  • In the program: Databases → Backup/modify/delete.
  • Manually: simply copy the .db files from the DATA
    folder (close the programs first).
  • The DATA folder is retained when the software is uninstalled.
    If you also want empty databases, delete the folder manually or select the
    “Overwrite database files” checkbox in Setup (see Installation).

Moving to another location

  • If the location of the music files changes (new PC/server),
    use Project → Move working directory in the SDMO module.
    This updates all references, optionally copies the files as well, and
    creates a log.
  • If the location of the karaoke music changes, select
    Change directory for each tab in KaraokeCaller.

Importing/exporting data

There is also a somewhat hidden menu item for managing the databases:

The logic behind all these options is the same: select sequences on the
right-hand side (as you would in an Excel spreadsheet). The number of
matching records is displayed as well. You can then perform the desired
action on the matching records (for example, delete the displayed records).

Here is an example of exporting HTML files:

If you choose “Export selected”, this will export 4,610 records.
A maximum of 4 records are written to each .html file.
The result would be more than 1,100 files in the export directory 🙂

You can also export data (as an .xml file), switch to another
database, and then import the .xml file into the new database.
This allows you to put together your own custom databases.