mirror of
https://github.com/Viren070/docker-compose-template.git
synced 2025-12-01 23:17:00 +01:00
20 lines
807 B
YAML
20 lines
807 B
YAML
source_directories:
|
||
- /mnt/source # 🔍 Source directory inside container (binds to /opt/docker on host)
|
||
|
||
repositories:
|
||
- path: ${BORG_REPO_URL} # 📦 Remote repo path from .env
|
||
label: borgbase # 🏷️ Friendly name
|
||
storage_quota: 10G # ℹ️ Display-only, helps track usage
|
||
|
||
one_file_system: true # 🚫 Don't cross into other mounts (e.g., /proc)
|
||
|
||
exclude_patterns:
|
||
- /mnt/source/data/stremthru/imdb # ❌ Temp cache
|
||
- /mnt/source/data/stremthru/hashlists # ❌ Torrent hashes
|
||
- /mnt/source/data/stremio-server # ❌ Optional exclusion
|
||
|
||
compression: lz4 # ⚡ Fast + efficient compression
|
||
archive_name_format: 'backup-{now:%Y-%m-%d_%H-%M-%S}' # 🧾 Timestamped archive name
|
||
|
||
keep_weekly: 2 # ✅ Keep 2 most recent weekly archives
|