Book a demo

← Documentation

Configuration Export and Import

Admin, then Configuration, copies the configuration of one OL Terminal to another.

  1. On the source instance, click Download configuration. It saves one .olt file (plain JSON inside).
  2. On the target instance, click Choose file… and pick the .olt file. OL Terminal checks it and shows what will be added, changed or removed before anything is written, with the current and new value of every changed field.
  3. Click Apply to import it.

What the file contains

  • Settings: general, connectivity, logging, AI, the MCP switch, the homepage and the user-management defaults.
  • Connections and the favorite connection.
  • Key mappings and sign-on macros.
  • User-management policies and managed users (device names, printer queues, session limits).

Secrets are never exported. The Hub API key, trusted-proxy secrets and connection properties whose name contains password, secret, token, apikey or credential stay on the instance. The import lists the secrets the source had set that this instance still needs, and never clears a secret this instance already has. The AI connection (with its key), MCP grants and traffic recordings are not exported.

Replace or merge

ModeEffect
Replace (default)This instance ends up matching the file: connections, macros, policies and users that are not in the file are removed.
MergeAdds and updates what is in the file; removes nothing.

A file with errors (a reference to an unknown connection, an unsupported format version, a homepage without an /emulation link) is rejected and nothing changes. A change to the MCP switch takes effect after a restart.

Loading the file at startup

Start a new instance with the file and it comes up configured, with no click:

java -DOL_TOOL_LICENSE=your_license_token_here -jar ol-terminal.jar --ol-config-file /opt/ol-terminal/config.olt

# or as an environment variable (Docker, Windows service)
docker run -v $(pwd)/config.olt:/config/config.olt -e OL_CONFIG_FILE=/config/config.olt ol-terminal

-Dol.config.file and -DOL_CONFIG_FILE work too. The file is applied in Replace mode on every start, so it is the source of truth: changes made in the admin pages last until the next restart, and the Configuration page says so. The database stays as configured; only the configuration is replaced. A missing or invalid file stops startup with a message naming the problem.

API

EndpointMeaning
GET /api/v1/admin/config/exportDownloads ol-terminal-config-<date>.olt.
POST /api/v1/admin/config/import?mode=replace&dryRun=trueBody: the file. dryRun=true (default) reports the changes; dryRun=false applies them. An invalid file answers 400 with CONFIG_IMPORT_INVALID.

Copy one OL Terminal's configuration to another with a .olt file, from the admin panel or at startup.

Read more

Tell us about yourself

You've been browsing the catalog. Leave your details to keep exploring.

Privacy policy