I’ve found similar topic, but it’s not completely clear what’s the best folder location for restic cache. Official documentation states that restic looks for cache on Linux as follows:
$XDG_CACHE_HOME/restic
, or~/.cache/restic
ifXDG_CACHE_HOME
is not set
Since systemd services run as root and home directory for root user is /root
, shouldn’t it create and /root/.cache/restic
folder and use it instead of returning this message?