Skip to content

Catalogue Migration

Ralph Gasser edited this page Mar 14, 2021 · 1 revision

Cottontail DB sports a tool for migrating old catalogue versions to the most recent format. To do so, start Cottontail DB in CLI mode by giving cli as program parameter instead of the path to the configuration file.

Before starting the migration please make sure that the destination volume has enough free disk space, since Cottontail DB will keep a backup of the old database. Therefore, you will roughly need enough free space to hold the same database again.

Once the CLI has started, you can then type:

system migration --input /path/to/configuration/file.json

Cottontail DB will now start catalogue migration for the database specified in the config-file's root element. This may take a while and the CLI will notify you, once it is done. The old database will not be affected but its data folder will be renamed once migration has completed (an ~old postfix will be added).

Clone this wiki locally