# ============================================================= # Restic exclude patterns # Copy to /etc/restic/excludes.txt and customize per machine. # Patterns without a leading / match anywhere in the path. # Patterns with a leading / match from the root of the backup. # ============================================================= # Caches .cache .npm .gradle # Build artefacts node_modules __pycache__ *.pyc target/ .next/ # Temporary files *.tmp *.log *.swp # Large data you can re-generate or re-pull *.iso *.img