L Loach Docs
Ctrl K

Data management

Settings → Data is where backups, restores and cleanups live. Loach stores everything local-first, so you are the one who decides where your data goes — and you can take it with you.

Export everything

Produces a single JSON blob containing every chat, message, Space, file, memory, snippet, MCP server and setting. The native save dialog opens; the file is written from the app backend, so the renderer never sees the chosen path.

This is the canonical backup format. Keep one before you do anything risky — OS reinstall, machine swap, experimental settings.

Import

Open a previously exported JSON file. Loach reports per-table row counts in a toast on success, so you can see at a glance what came back in. If app lock is configured, Import asks for your current credentials before running — an unauthorised renderer cannot trigger it.

Wipe user data

Drops chats, Spaces, Snippets, MCP servers and memories. Keeps app settings and the stored OpenAI-compatible API key, so the app remains usable immediately afterwards. Gated on app-lock credentials when a lock is configured.

Use this when you want a clean conversational slate but do not want to redo all your provider setup.

Factory reset

Wipe user data plus clear all settings plus remove the OpenAI-compatible API key from the credential store. Re-runs onboarding on next launch. Irreversible.

Use this when handing the machine to someone else, or as the last step in “start completely over”.

All of this is destructive

Wipe and factory reset are immediate and cannot be undone by a button. Export everything first if there is any chance you might want it back.