itzg/docker-mc-backup
Use RESTIC_HOST instead of RESTIC_HOSTNAME
Geschlossen
#301 geöffnet am 20.06.2026
enhancementhelp wanted
Repository-Metriken
- Stars
- (501 Sterne)
- PR-Merge-Metriken
- (Durchschn. Merge 6h 9m) (8 gemergte PRs in 30 T)
Beschreibung
The backup script uses RESTIC_HOSTNAME for deterministic hostname of the backup.
But restic itself already reads the env var RESTIC_HOST for the same purpose
RESTIC_HOST Only consider snapshots for this host / Set the hostname for the snapshot manually (replaces --host)
https://restic.readthedocs.io/en/latest/075_scripting.html#environment-variables