This document describes where Chorus stores all application data on macOS.
All Chorus data is stored in the Application Support directory:
~/Library/Application Support/
Chorus can have multiple instances:
~/Library/Application Support/sh.chorus.app/
~/Library/Application Support/sh.chorus.app.dev.<instance-name>/
For example, the chicago development instance stores data at:
~/Library/Application Support/sh.chorus.app.dev.chicago/
Each instance directory contains:
- Most important file - contains all your data
- Stores:
- All chat messages and conversation history
- Projects and their metadata
- Model configurations
- API keys (encrypted in
auth.dat, referenced in DB) - User preferences and settings
- Attachments metadata
- Cost tracking data
- MCP server configurations
- Size: Can be 60MB+ for active users
- Location:
chats.dbin the instance directory
- Application settings and preferences
- Format: Tauri store format (JSON-like)
- Contains:
- Theme preferences (light/dark mode)
- Quick chat settings
- Keyboard shortcuts
- UI preferences
- Older settings format
- May contain minimal data or be deprecated
- Encrypted authentication token
- Used for Chorus account login and backend communication
- Small file (~64 bytes)
- User-uploaded attachments
- Files attached to chat messages
- Includes:
- Images (PNG, JPG, etc.)
- PDFs
- Text files
- Other document types
- Each file is stored with a unique identifier
- Images generated by AI models
- May not exist if no images have been generated
- Referenced by chat messages in the database
- Cached icons for UI elements
- Typically minimal data
- Can be regenerated if deleted
To see all Chorus instances on your system:
find ~/Library/Application\ Support/ -maxdepth 1 -type d -name "sh.chorus.app*"To see the contents of your production instance:
ls -lh ~/Library/Application\ Support/sh.chorus.app/We've provided a comprehensive backup script at script/backup-chorus-data.sh:
# Backup production instance
./script/backup-chorus-data.sh prod
# Backup current development instance
./script/backup-chorus-data.sh dev
# Backup all instances
./script/backup-chorus-data.sh all
# Backup to specific directory
./script/backup-chorus-data.sh prod ~/Desktop/chorus-backupsTo manually backup, simply copy the entire instance directory:
# Backup production
cp -r ~/Library/Application\ Support/sh.chorus.app ~/Desktop/chorus-backup-$(date +%Y%m%d)
# Backup dev instance (chicago)
cp -r ~/Library/Application\ Support/sh.chorus.app.dev.chicago ~/Desktop/chorus-dev-backup-$(date +%Y%m%d)- Close Chorus completely (Quit the application)
- Extract or copy your backup files
- Replace the instance directory:
# For production rm -rf ~/Library/Application\ Support/sh.chorus.app cp -r /path/to/backup ~/Library/Application\ Support/sh.chorus.app
- Restart Chorus
Always backup before running database migrations!
The cost tracking feature adds new database migrations that modify the schema. While migrations are designed to be safe, it's always best to have a backup:
./script/backup-chorus-data.sh prod ~/Desktop/pre-migration-backup- API keys are stored encrypted in the database
- The
auth.datfile contains sensitive authentication data - Keep backups secure - they contain your API keys and authentication tokens
- Don't share backups publicly
- The
chats.dbfile can grow large with extensive chat history - Regular backups are recommended, especially before updates
- You can check database size with:
du -h ~/Library/Application\ Support/sh.chorus.app/chats.db
- Development instances are completely isolated from production
- Each has its own database, settings, and files
- Backing up one doesn't affect the other
- You can safely delete dev instances without affecting production
The following data is NOT stored locally:
- Account information (stored on app.chorus.sh backend)
- Billing information (stored on app.chorus.sh backend)
- Model provider API responses (not cached, fetched real-time)
To completely remove Chorus data:
# Remove specific instance
rm -rf ~/Library/Application\ Support/sh.chorus.app.dev.chicago
# Remove all Chorus data (WARNING: This deletes everything!)
rm -rf ~/Library/Application\ Support/sh.chorus.app*This document is for macOS. On other platforms:
- Windows:
%APPDATA%\sh.chorus.app\ - Linux:
~/.local/share/sh.chorus.app/or$XDG_DATA_HOME/sh.chorus.app/