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
The backup script uses
RESTIC_HOSTNAMEfor deterministic hostname of the backup.But restic itself already reads the env var
RESTIC_HOSTfor the same purposehttps://restic.readthedocs.io/en/latest/075_scripting.html#environment-variables