# Backups
## Git Auto-Backup
### Workspace Backup (quotidien 23h)
```bash
# Crontab : 0 23 * * * /root/workspace/.git-backup.sh
```
- **Path** : `/root/workspace/` (git repo racine)
- **Fréquence** : Quotidien à 23h
- **Log** : `/root/workspace/.git-backup.log`
- **Contenu** : ~87 répertoires de projets
### OpenClaw Auto-Commit
```bash
# Crontab : */30 * * * * /root/.openclaw/workspace/scripts/auto-commit.sh
```
- **Fréquence** : Toutes les 30 minutes
- **Scope** : OpenClaw workspace uniquement
## Syncthing (File Sync)
- **Service** : `syncthing.service` (Tailscale)
- **Ports** : 22000 (sync), 8384 (web UI, Tailscale only)
- **Sync vers** : [TO VERIFY â quelles machines ? Probablement MacBook Fefe]
- **Usage probable** : Family dashboard data, documents perso
## Database Backups
### PostgreSQL 16 (host)
| DB | Backup | Fréquence |
|----|--------|-----------|
| `paperclip` | [TO VERIFY] | [TO VERIFY] |
### Docker (Infisical)
| Composant | Backup | Fréquence |
|-----------|--------|-----------|
| Infisical Postgres | Docker volume | [TO VERIFY] |
| Infisical Redis | [TO VERIFY] | Redis persistence |
## VPS Snapshots
[TO VERIFY â le provider de VPS (Contabo/Hetzner) offre-t-il des snapshots ?]
## Recommendations Non-Implémentées
- [ ] Dump SQL automatique pour PostgreSQL (paperclip)
- [ ] Dump D1 Cloudflare (Kontia) â stockage local
- [ ] Snapshot VPS hebdomadaire
- [ ] Backup Syncthing â stockage externe (S3/R2 ?)
# Citations
[1] Vérifié depuis `crontab -l`, `systemctl status syncthing`, `ls /root/workspace/.git-backup.*` (2026-06-14).
Backups — Stratégie FATAPLUS
Comment les données sont sauvegardées sur le VPS principal.