Backup & troubleshooting

Your entire lexicon lives in one file. That makes backups trivial — and makes knowing the safety rules important.

Data location

WhatWhere
Database filelexicon.db
LocationThe same directory as the Lexicon executable
FormatStandard SQLite 3 — readable with any SQLite tool
â„šī¸

Portable by design Moving your knowledge base to another machine means copying lexicon.db next to the executable there. That's it.

Backup strategies

  1. Close Lexicon. This guarantees the database is not mid-write.
  2. Copy lexicon.db to safe storage — external drive, NAS, or a synced folder.
  3. Version your backups — keep dated snapshots (daily or weekly) instead of overwriting a single copy:
    cp lexicon.db ~/backups/lexicon-$(date +%F).db
💡

Automate it A one-line cron job (or scheduled task on Windows) that copies the file once a day is all a personal knowledge base usually needs. If your lexicon is mission-critical, back up more often.

Deletion safety rules

Lexicon uses cascade deletion to keep the database consistent. Know the two rules before you delete anything:

âš ī¸

Deleting a term also removes its aliases, tags, flags, and all links/backlinks pointing to or from it.

âš ī¸

Deleting a map removes every term inside it — including all of their content and metadata. This is the most destructive action in the application.

There is no undo for deletions. When in doubt, make a quick copy of lexicon.db first.

Troubleshooting

The app does not start (Qt plugin / driver issue)

Database errors on startup

The build fails

Still stuck?

Open an issue on GitHub with your OS, Qt version, and the exact error message.