Backups — Stratégie FATAPLUS

Comment les données sont sauvegardées sur le VPS principal.

# 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).