Settings
Data Storage
Manage your data, backups, and storage settings
Data Storage
Chatelope stores your data locally. This guide covers how data is stored, backed up, and managed.
Storage Location
Default Location
Data is stored in a SQLite database:
- Web app:
./data/chatelope.db - Mobile: App data directory
Custom Location
Change the database location:
- Go to Settings > Data
- Click Change Location
- Select new directory
- Data will be migrated
What's Stored
Database
The SQLite database contains:
- Conversations and messages
- Folders and tags
- User preferences
- Sync metadata
Attachments
Files are stored separately:
- Images from imports
- Generated images
- Audio files
- Document attachments
Cache
Temporary data for performance:
- Thumbnails
- Search indexes
- TTS audio cache
Storage Usage
View storage breakdown:
- Go to Settings > Data
- See usage by category:
- Database
- Attachments
- Cache
Cleaning Up
Free up space:
- Clear cache - Remove temporary files
- Delete unused attachments - Remove orphaned files
- Compress database - Optimize database file
Backup
Manual Backup
Create a backup:
- Go to Settings > Data
- Click Create Backup
- Choose location
- Backup includes database + attachments
Automatic Backup
Enable scheduled backups:
- Go to Settings > Data > Auto Backup
- Enable automatic backups
- Set frequency (daily/weekly)
- Choose backup location
Restore
Restore from backup:
- Go to Settings > Data
- Click Restore from Backup
- Select backup file
- Confirm restore
Export
Full Export
Export all data:
- Go to Settings > Data
- Click Export All
- Choose format (JSON or SQLite)
- Download the export file
Selective Export
Export specific conversations:
- Select conversations
- Right-click > Export
- Choose format
Export Formats
| Format | Use Case |
|---|---|
| JSON | Readable, portable |
| SQLite | Complete database |
| Markdown | Human-readable conversations |
Import
From Export
Import a previous export:
- Go to Settings > Data
- Click Import
- Select export file
- Choose merge or replace
Merge Options
When importing:
- Merge - Add to existing data
- Replace - Delete existing, import new
- Deduplicate - Skip existing conversations
Data Retention
Automatic Cleanup
Configure retention policies:
- Keep forever - Never delete
- Archive after X days - Move old conversations
- Delete after X days - Permanent removal
Manual Cleanup
Bulk delete old data:
- Go to Settings > Data > Cleanup
- Set date range
- Preview affected conversations
- Confirm deletion
Privacy
Data Location
Your data stays local:
- No cloud sync by default
- API keys stored encrypted
- Attachments stored locally
Encryption
Database encryption (optional):
- Go to Settings > Data > Security
- Enable Database Encryption
- Set a password
- Restart required
Secure Delete
Permanently remove data:
- Select items to delete
- Use Secure Delete option
- Data is overwritten, not just marked deleted
Sync
Cloud Sync
Optional cloud backup:
- Go to Settings > Sync
- Connect storage provider
- Configure sync settings
Supported providers:
- Dropbox
- Google Drive
- iCloud
- Custom WebDAV
Multi-Device
Sync between devices:
- Export from source device
- Import on target device
- Or use cloud sync