itzg/docker-mc-backup

Use RESTIC_HOST instead of RESTIC_HOSTNAME

Open

#301 aperta il 20 giu 2026

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)Shell (66 fork)github user discovery
enhancementhelp wanted

Metriche repository

Star
 (501 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor