Briglia CLI
GitHub
Guide

Backup & move (Mind)

Briglia's memory — conversation, long-term archives, what it has learned about you, reminders, documents — can be exported as one .mind archive and restored on any other Briglia CLI (or Ada.app). Keys and settings are never included.

Export

/exportmind

Writes briglia-mind-YYYY-MM-DD-HHmmss.mind (archives named ada-mind-… from before the rename import unchanged) to your Desktop (or home on headless systems). The export refuses to run while something could tear it — a turn, background jobs, a watcher check — rather than produce an inconsistent backup; nothing is written in that case. An existing backup is never damaged by a failed export: the archive is built privately and swapped in atomically.

/exportmind lite

Lite (text works too) keeps memory but skips the heavy payload — documents, images, attachment snapshots, projects. Ideal for a Raspberry Pi or a phone with little storage. Restoring a lite backup empties those areas on the target.

Import

/importmind /path/to/briglia-mind-….mind

Two steps, and the first is read-only: Briglia copies the archive into its own storage, validates it (a corrupt file is rejected without touching anything), fingerprints it, and shows exactly what will be replaced and what will be kept. Then:

/importmind confirm

(/importmind cancel to back out.) The confirmation is bound to the fingerprint of the file Briglia inspected — swapping the file in between makes the import refuse. Only after validation does Briglia stop running work, discard pending results, apply the staged archive and reload.

Quarantined watchers

A backup can contain shell programs (scripted watchers). They are restored paused and quarantined, with their schedule and state intact. Review and re-arm each one yourself with /resumewatcher (no argument lists them; pass at least 8 characters of an id to approve one — Briglia re-checks the script hash first). Briglia's own tools cannot resume a quarantined watcher.

Compatibility

The archive format is shared with Ada.app (the macOS legal edition), so a Mind can move between a Mac, a Pi and a phone. Absolute paths inside are rebased to the target machine on import.