Backup and restore
Export encrypted resources, preview conflicts and merge on restore.
Export a resource backup
Open Settings → Backup & Restore, choose resource types, set a passphrase and export. The archive includes selected resources and necessary linked configuration and credentials. Keep the passphrase safe; a lost passphrase cannot be recovered.
Validate and merge
On the destination device, choose the archive, enter its passphrase and review validation results. Check the scope and conflict choices. Local resources are kept by default. Confirm the merge and restart as prompted. A pre-import snapshot is retained.
The backend re-encrypts credentials with the destination device’s key. Verify connections, paths, model configuration and external client access afterwards.
What is included
Resource backups exclude remote files, business databases, local SQLite files, chat and execution histories, and AI/MCP client identities. They are not a replacement for server-file or business-database backups.
For a complete local snapshot, fully quit Banyan before copying the application data directory. Copying the directory does not migrate the operating system keychain key or guarantee cross-device decryption.
Local data and uninstalling
The application identifier is com.sunlunchang.banyan. Main data includes app.db, settings.json, logs and tool artifacts.
| System | Default directory |
|---|---|
| macOS | ~/Library/Application Support/com.sunlunchang.banyan/ |
| Windows | %APPDATA%\com.sunlunchang.banyan\ |
| Linux | ${XDG_DATA_HOME:-~/.local/share}/com.sunlunchang.banyan/ |
Uninstalling may leave these files behind. Delete them manually only when no longer needed, preserving required records and backups.