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:
commit
f6053bb459
8 files changed
+267
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user