itzg/docker-mc-backup

Use RESTIC_HOST instead of RESTIC_HOSTNAME

Fechada

#301 aberto em 20 de jun. de 2026

 (1 comentário) (0 reação) (0 responsável)Shell (66 forks)github user discovery
enhancementhelp wanted

Métricas do repositório

Stars
 (501 estrelas)
Métricas de merge de PR
 (Mesclagem média 6h 9m) (8 fundiu PRs em 30d)

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