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>
10 lines
282 B
Bash
10 lines
282 B
Bash
# 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
|