itzg/docker-mc-backup

Use RESTIC_HOST instead of RESTIC_HOSTNAME

Open

#301 aberto em 20 de jun. de 2026

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)Shell (66 forks)github user discovery
enhancementhelp wanted

Métricas do repositório

Stars
 (501 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

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

Guia do colaborador