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

貢獻者指南