Backup, import and change history
Export and import
On the Tag Management page (sidebar footer):
- Export offers two formats. Excel workbook (.xlsx) holds tags, templates and bound groups for editing in bulk; see Tags and templates in Excel. Full configuration (.json) downloads the whole configuration (connectors, tags, templates and template bindings) as one JSON file. Use it as a backup, or to copy a setup to another computer.
- Import takes either file. An
.xlsxworkbook is checked first and shows what it would change (see Tags and templates in Excel). A JSON file Connectors and tags in the file are added, or replace ones with the same name or path; others are left alone. The whole import is checked first and applied in one step: if anything is wrong, nothing changes and the problems are listed.
To create many tags quickly, use the Excel workbook.
Configuration backup and restore
System Configuration → Backup and restore (administrators only) keeps complete configuration backups: one
.wcbk file holds everything that makes up this WiConnector.

- In a backup: connectors, devices, tags, templates, users and roles, the activity history, services (WebSocket, MQTT publishers, OPC UA servers), history settings, certificates, licences, and the keys that protect stored passwords.
- Not in a backup: logs, values waiting in store-and-forward buffers, and the tag values in the history database (use Download backup on the Historian page for those).
Because the file holds the keys for the stored PLC and database passwords, keep backups where only administrators can reach them.
Create a backup
- Open System Configuration → Backup and restore.
- Optionally type a Note (for example "Before adding line 3").
- Press Create backup. The result appears next to the button, with a Download link.
Backups are also made automatically:
- Before upgrade: by the Windows setup, the Linux installer and the Docker kit, before a new version first starts.
- Before restore: the configuration that a restore replaces.
The newest ten of each automatic kind are kept; backups you make are never deleted automatically.
Where backups are saved
By default in the backups folder of the data folder. Under Backup folder, type a folder on the WiConnector
computer or press Browse… to pick one (another disk or a network share keeps backups safe if this disk fails),
then Save. The WiConnector service must be able to write there.
Restore a backup
- Choose the backup:
- from the Backups list: the restore button (circular arrow) on its row;
- Upload and restore: a
.wcbkfile from your own computer; - From a path on the WiConnector computer: type a file or folder, or press Browse…, then Load, and restore one of the backups found.
- Check the details in the confirmation (when and on which computer it was made, by which version) and press Restore.
- WiConnector saves the current configuration as a Before restore backup, restarts with the restored one, and the page reloads when it is back (a few seconds). Everyone signs in again.
Notes:
- Licence files already on this computer are kept; licences from the backup are added when missing.
- The same is available outside the browser: the Windows tray icon (Backup and restore),
wiconnectorctl backupon Linux, andWiConnector.Server backup create | list | restore FILEon any system.
Activity

System Configuration → Activity lists every configuration change, newest first: when, and what changed (for example "Updated connector modbus1: renamed device plc1 to plc-a; moved 12 tag(s)"). It has the same filters and downloads as the Logs page:
- Search: only changes that mention a tag, group, connector or word.
- From / To: a date and time range.
- Change: Created, Updated, Renamed, Deleted, Imported.
- Item: Connectors, Tags (tags, groups, folders, bindings), Templates, Other (imports and settings).
- Download: every change the filters match (not only the newest 1,000 shown) as Excel, CSV or PDF.
- Copy all, and right-click a line to copy it or show only changes of that item.
Changes are kept for 15 days; older ones are deleted automatically (the newest change is always kept). Download them first if you need a longer record.
Where data is stored
Everything lives in the data folder:
- Windows setup:
C:\ProgramData\Altrex\WiConnector\data - Linux installer:
/var/lib/wiconnector - Docker: the
wiconnector-datavolume
| Path | Contents |
|---|---|
data/config.db | Connectors, tags, user accounts (passwords as salted hashes only) and the change history (SQLite) |
data/config.key | Key for the PLC passwords in config.db. Back it up with config.db; without it, passwords must be entered again |
data/auth.key | Key that signs sign-ins. Back it up with config.db; if it is lost, everyone simply signs in again |
data/logs/ | Daily log files and logging.json (log settings) |
data/gateway/websocket.json | WebSocket data service settings and API key fingerprints |
data/gateway/*.pfx | Self-signed certificate, if one was created |
data/history/history.json, secret.key | History database settings (password encrypted) and the key that encrypts it |
data/certificates/ | Certificates and keys uploaded with Browse… (TLS for history and the WebSocket service) |
history-secrets volume, db-bootstrap | Built-in database only: one-time first-start password, deleted after set-up |
data/history/remote-db-*.crt | Certificates of the setup kits for a database on another PC (the key is only in the kit) |
data/history/buffer/ | Store-and-forward buffer while the history database is unreachable |
data/backups/ | Configuration backups (.wcbk), unless another folder is chosen on the Backup page (data/backup.json) |
To back up the configuration, use Backup and restore (above). Deleting config.db starts over with an empty
configuration.
The tag values themselves (history) are in the history database. Back them up with Download backup on the
History page (an encrypted .wchb file), or, for an external database, with your usual database tools. See
History.
With Docker, the data folder is the wiconnector-data volume and the built-in history database is the
history-db volume.