itzg/docker-mc-backup

Use RESTIC_HOST instead of RESTIC_HOSTNAME

Open

#301 创建于 2026年6月20日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Shell (66 fork)github user discovery
enhancementhelp wanted

仓库指标

Star
 (501 star)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南