Script de backup restic pour Lisette et Bermite

Pull depuis ce PC via SSH : snapshot SQLite à chaud (API backup de
Python, sans fichier temporaire sur le serveur), vérification
d'intégrité locale, puis restic backup taggé par service. Rétention
configurable, isolation des échecs par service, commande `list`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Romulus21andClaude Opus 5.5 committed 2026-11-09 16:32:49 +01:00
commit f6053bb459
8 files changed
+267

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
# Copier en config.env et adapter.
RESTIC_REPOSITORY="$HOME/Backups/restic"
RESTIC_PASSWORD_FILE="$HOME/.config/backups/restic-password"
STAGING_DIR="$HOME/.cache/backups/staging"
# Rétention (restic forget, groupé par hôte + service)
KEEP_DAILY=7
KEEP_WEEKLY=4
KEEP_MONTHLY=12