~/.repr/. But having an explicit backup workflow is still smart. Here’s how.
Quick Backup
Want a backup right now? One command:What Gets Backed Up?
The backup includes:- ✅ All stories (titles, narratives, metadata, featured/hidden status)
- ✅ Profile settings (bio, location, availability)
- ✅ Configuration (LLM settings, tracked repos, hooks)
- ✅ Queue (pending commits waiting for generation)
- ❌ Your git repositories (use git for that)
- ❌ Your API keys (stored in OS keychain, not in repr)
- ❌ Auth tokens (you’ll re-login after restore)
Where to Store Backups
Some good options:1. Cloud Storage (Recommended)
2. External Drive
3. Version Control
Automated Backups
Don’t rely on remembering to run backups. Automate it.Weekly Backup (macOS)
Create a launchd service:Weekly Backup (Linux)
Same script, same cron job. Works everywhere.Weekly Backup (Windows)
Use Task Scheduler to run:Restore from Backup
You got a new laptop. Or your hard drive died. Or you accidentally deleted your stories. Time to restore from backup.Full Restore (Replace Everything)
Merge Restore (Keep Both)
Already have some stories on the new machine? Want to merge with your backup?Migrating to a New Computer
Full workflow for setting up repr on a new machine with all your existing data.1
Install repr on new machine
2
Copy your backup to the new machine
Transfer your backup file (via USB, cloud storage, etc):
3
Restore from backup
4
Initialize with your new repos
Point repr at your code folder on the new machine:This scans for repos. The repos don’t have to match your old machine—repr works with whatever you have locally.
5
(Optional) Re-authenticate
If you use cloud sync:This connects the new machine to your account. Your auth token is not in the backup (it’s in your OS keychain), so you’ll need to log in again.
6
Verify everything works
Incremental Backups
Don’t want to back up everything every time? Use incremental backups:- Weekly: Incremental backup (fast, small)
- Monthly: Full backup (slower, complete)
Checking What You Have
Want to see how much data you’re storing before backing up?Housekeeping
Clear Cache (Keeps Stories)
Repr caches some data for performance. You can safely clear it:Export Individual Stories
Want to back up just one important story?Backup Best Practices
1. Backup Before Major Changes
Before doing anything destructive:~/temp-backup.json.
2. Keep Multiple Backups
Don’t overwrite the same backup file. Use dated filenames:3. Test Your Backups
Occasionally verify your backup actually works:4. Use Cloud Sync as Secondary Backup
If you use repr’s cloud sync, your stories are already backed up to repr.dev. But don’t rely on this alone—also keep local backups. Cloud sync is great for:- ✅ Multi-device access
- ✅ Automatic synchronization
- ✅ Secondary backup
- ✅ Complete control
- ✅ Offline access
- ✅ No dependency on repr.dev being online
Disaster Recovery
Your hard drive crashed. Everything is gone. What do you do?If You Have Cloud Sync
If You Only Have Local Backups
If You Have Neither
This is bad. Your stories are gone. But your git history still exists! You can regenerate:Migration Checklist
Moving to a new machine? Follow this checklist:- Create fresh backup on old machine:
repr data backup - Transfer backup file to new machine (USB, cloud, etc)
- Install repr on new machine
- Restore from backup:
repr data restore --replace - Initialize with new repos:
repr init ~/code - (Optional) Re-authenticate:
repr login - Verify:
repr storiesandrepr doctor - Test generate:
repr generate --local - Set up new automated backup schedule
The Bottom Line
Repr stores everything as human-readable JSON files in~/.repr/. You can back them up like any other files. But using repr data backup is easier because:
- It bundles everything into one file
- It’s guaranteed to capture the right structure
- It’s designed to work with
repr data restore

