location: source_directories: # ✅ Always back up system configuration - /etc # Uncomment these if you want Docker data/configs # - /srv/docker # - /opt/docker # ✅ Borg repository destination (injected as a variable) repositories: - {{ borg_repo_url }} # ✅ Include hostname in archive names for multi-host dedupe archive_name_format: "{hostname}-{now:%Y-%m-%dT%H:%M:%S}" # ✅ Use a dedicated SSH key for Borg backups ssh_command: "ssh -i /root/.ssh/borg" # To use this key each client needs the following command run: (and the public key added to the repo server) # sudo ssh-keygen -t ed25519 -f /root/.ssh/borg storage: # ✅ Encryption key; supply via vault/secret encryption_passphrase: "{{ borg_encryption_passphrase | default('changeme') }}" retention: keep_daily: 7 keep_weekly: 4 keep_monthly: 6