Local-First Architecture
Pieces stores and processes everything on your device by default—code snippets, LTM-2.7 memory, user settings, Conversational Search history, and diagnostic logs all stay local.
When data can move to the cloud: Only when you explicitly enable Personal Cloud or use a cloud-based model provider (OpenAI, Anthropic, Google). In those cases, data is handled by the provider's privacy policy.
Where Your Database Lives
| Platform | Default path |
|---|---|
| macOS | /Users/<username>/Library/com.pieces.os/ |
| Windows (PiecesOS) | C:\Users\<username>\AppData\Local\Mesh Intelligent Technologies, Inc\Pieces OS\com.pieces.os\ |
| Windows (Desktop App) | C:\Users\<username>\AppData\Local\Mesh Intelligent Technologies, Inc\Pieces for Developers\com.pieces.pfd\ |
| Linux | /home/<username>/.local/share/com.pieces.os/ |
Inside com.pieces.os, the production folder contains your LTM-2.7 context and all other Pieces data. You can copy, compress, or relocate this folder to sync via OneDrive or migrate to another machine.
The Pieces Desktop App stores additional data in a separate com.pieces.pfd folder (~/Library/com.pieces.pfd/ on macOS, or ...\Pieces for Developers\com.pieces.pfd\ on Windows). For a full backup, copy both folders from their respective parent directories on Windows.
Finding Your Logs
When opening a GitHub issue or contacting support, attaching recent logs helps diagnose problems quickly.
| Platform | Log path |
|---|---|
| macOS (PiecesOS) | /Users/<username>/Library/com.pieces.os/production/Support/logs/ |
| macOS (Desktop App) | /Users/<username>/Library/com.pieces.pfd/production/logs/ |
| Windows (PiecesOS) | C:\Users\<username>\AppData\Local\Mesh Intelligent Technologies, Inc\Pieces OS\com.pieces.os\production\Support\ |
| Windows (Desktop App) | C:\Users\<username>\AppData\Local\Mesh Intelligent Technologies, Inc\Pieces for Developers\com.pieces.pfd\production\logs\ |
| Linux | /home/<username>/.local/share/com.pieces.os/logs/ |
Zip the latest two or three log files from the path above and attach them to your GitHub issue or Discord DM.
Backup & Restore
Pieces supports two backup approaches. Use manual folder backup for a full copy of your on-device database (including Long-Term Memory). Use Personal Cloud backup for snapshots of app data you can restore from the Desktop App on any device where you're signed in.
| Method | Best for | Requires |
|---|---|---|
| Manual folder backup | Full LTM database, migration, offline archives | Quitting Pieces, copying com.pieces.os (and com.pieces.pfd) |
| Personal Cloud backup | Snippets, Drive files, settings, chat history | Connected Personal Cloud |
Manual Backup
Copy your on-device database folders directly. This is the most complete option if you need everything in production, including Long-Term Memory context.
* **macOS:** `/Users/<username>/Library/` (copy both `com.pieces.os` and `com.pieces.pfd`)
* **Windows:** Copy `...\Pieces OS\com.pieces.os\` and `...\Pieces for Developers\com.pieces.pfd\` from `C:\Users\<username>\AppData\Local\Mesh Intelligent Technologies, Inc\`
* **Linux:** `/home/<username>/.local/share/com.pieces.os/`
Backup via Personal Cloud
Create a snapshot from the Pieces Desktop App. Backups are stored in your personal Pieces Cloud and can be restored or deleted from the same modal.
Cloud backups include snippets, Pieces Drive files, user preferences, Conversational Search data, search and tagging data, and linked account connections (without passwords). They do not replace a full manual copy of your com.pieces.os database if you need to preserve raw Long-Term Memory data.
Restore on a New Machine
Restore a Manual Backup
Use this when you copied com.pieces.os (and optionally com.pieces.pfd) to another drive or machine.
Restore a Personal Cloud Backup
Use this when you created a backup through Backup & Restore Data in Account settings.
Start Fresh (Reset)
Next Steps
- Long-Term Memory settings — clear stored data, app access, and permissions.
- Account settings — Personal Cloud backup and restore.
- Support — report issues and find platform log paths.
Need Help?
Open a GitHub issue for PiecesOS, the Pieces Desktop App, or any MCP integration at our GitHub repository.
You can also leave feedback or report a bug here.