I am getting errors with Restic (0.19.0 compiled with go1.26.4) backups that have been scheduled via Systemd, but do not get the same errors when running the same scripts manually. This makes me believe there is some permission I’m missing.
The relevant Restic files, including a log of one successful and one unsuccessful run of Restic, can be found in this public Git repo.
The error I am getting is around sockets being created and can be seen in greater detail in the restic.log file in the above Git repo:
Stat(<config/>) returned error, retrying after 915.118336ms: Stat: Get "https://s3.us-west-000.backblazeb2.com/s-/?location=": dial tcp [2605:72c0:5ff:b3::b000:1]:443: socket: address family not supported by protocol
IPv6 works fine on my system and network, so I’m guessing this is a permission that is being restricted by systemd. Does anyone see what I’ve missed?