# Backup Quick Reference

*January 21, 2026*

---

## 🎯 What I Did Today

### ✅ Completed
1. **Git + GitHub** for Remix Sniper
   - Repo: https://github.com/BusyBee3333/remix-sniper
   - All code pushed (52 files)
   - **Commit often!** `git add . && git commit -m "msg" && git push`

### 📚 Created Guides
| File | What It Covers |
|------|----------------|
| `DIGITALOCEAN-SPACES-GUIDE-2026.md` | Get API key + set up rclone |
| `TIMEMACHINE-SETUP-GUIDE-2026.md` | External drive + Time Machine |
| `BACKUP-STRATEGY-2026.md` | 5-layer defense master guide |
| `PROJECT-BACKUP-TEMPLATE.sh` | For ANY new project |
| `BACKUP-STATUS-2026.md` | Setup checklist + next steps |

---

## 🔜 Your Next Steps

### 1️⃣ DigitalOcean Spaces (Do today)
```bash
# Get API key: https://cloud.digitalocean.com/account/api/tokens
# Get Spaces keys: https://cloud.digitalocean.com/account/api/tokens (Spaces access keys)

# Configure rclone
rclone config
# Name: do-spaces
# Provider: DigitalOcean Spaces
# Region: nyc3

# Test
rclone ls do-spaces:remix-sniper-backup

# Run backup
~/.clawdbot/workspace/backup_to_cloud.sh do-spaces
```

### 2️⃣ Time Machine (This week)
1. Buy external drive (1 TB+)
2. Format as APFS
3. System Settings > General > Time Machine
4. Enable encryption → save password to 1Password
5. Run first backup (overnight)

### 3️⃣ Backblaze (Optional but recommended)
- https://backblaze.com
- $6/month per computer
- Continuous offsite backup

---

## 📁 For New Projects

```bash
cd /path/to/project
~/.clawdbot/workspace/PROJECT-BACKUP-TEMPLATE.sh
```

**Result:** Git + GitHub + cloud backup + restore docs

---

## 🛡️ The 5 Layers

| Layer | Tool | Protects |
|-------|------|----------|
| L1 | Git + GitHub | Code (instant) |
| L2 | Time Machine | Everything local (hourly) |
| L3 | rclone + DO Spaces | Critical data (daily) |
| L4 | Backblaze | Everything (continuous) |
| L5 | Offsite drive | Physical copy (manual) |

---

## 🆘 Quick Commands

```bash
# Git - push latest code
git add . && git commit -m "update" && git push

# rclone - list cloud backups
rclone ls do-spaces:remix-sniper-backup

# rclone - restore from cloud
rclone sync do-spaces:remix-sniper-backup/DATE/ ./

# Time Machine - browse backups
# Click Time Machine icon > Enter Time Machine

# Crontab - check scheduled jobs
crontab -l
```

---

## 📞 Stuck?

- DigitalOcean: `DIGITALOCEAN-SPACES-GUIDE-2026.md`
- Time Machine: `TIMEMACHINE-SETUP-GUIDE-2026.md`
- General: `BACKUP-STRATEGY-2026.md`
- **Tag Buba in Discord**

---

## ✅ Daily Habit

Before shutting down:
```bash
# 1. Commit code (if working)
git add . && git commit -m "daily" && git push

# 2. Cloud backup (if critical changes)
~/.clawdbot/workspace/backup_to_cloud.sh do-spaces
```

---

**You're now on your way to zero data loss!** 🛡️💛
