itzg/docker-mc-backup

Use RESTIC_HOST instead of RESTIC_HOSTNAME

Open

#301 geöffnet am 20. Juni 2026

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Shell (66 Forks)github user discovery
enhancementhelp wanted

Repository-Metriken

Stars
 (501 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

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

Contributor Guide