itzg/docker-mc-backup

Use RESTIC_HOST instead of RESTIC_HOSTNAME

Open

#301 ouverte le 20 juin 2026

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)Shell (66 forks)github user discovery
enhancementhelp wanted

Métriques du dépôt

Stars
 (501 stars)
Métriques de merge PR
 (Métriques PR en attente)

Description

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

Guide contributeur