first commit

This commit is contained in:
Oliver Walter
2026-06-17 01:54:53 +02:00
commit 1ea0d846bb
15 changed files with 742 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
# =============================================================
# Per-machine restic configuration — USER level
# Copy to ~/.config/restic/env and fill in all values.
# chmod 600 ~/.config/restic/env
# =============================================================
# --- Machine identity ----------------------------------------
# Each machine MUST have a unique name (e.g. desktop, laptop, workstation).
export MACHINE_NAME=change-me
# --- REST server ---------------------------------------------
export BACKUP_SERVER=nas.box:30248
export RESTIC_REPOSITORY=rest:http://oliver:oli1oli1@${BACKUP_SERVER}/${MACHINE_NAME}
# --- Encryption ----------------------------------------------
# Generate with: openssl rand -base64 32
# Store in recovery.txt on TrueNAS and your personal password manager.
export RESTIC_PASSWORD=change-me
# --- Paths to back up ----------------------------------------
# $HOME is expanded at runtime — adjust to what matters to you.
export BACKUP_PATHS="$HOME/.config $HOME/.local/share $HOME/Documents $HOME/Pictures $HOME/Desktop"
# --- Retention policy ----------------------------------------
export KEEP_DAILY=5
export KEEP_WEEKLY=3
export KEEP_MONTHLY=3