itzg/docker-mc-backup

Use RESTIC_HOST instead of RESTIC_HOSTNAME

クローズ

#301 opened on 2026/06/20

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Shell (66 件のフォーク)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (501 個のスター)
PR merge metrics
 (平均マージ 6h 9m) (30d で 8 merged PRs)

説明

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

コントリビューターガイド