I’m running restic 0.9.6 on my Synology DS418, backup up the content to B2.
I have set the cache-directory using the
$RESTIC_CACHE_DIR variable. Running
restic cache displays the correct location when running it under my user and as root. But when running
sudo restic cache, the path is displayed as
It’s is problematic on the Synology, as
/root/ is placed on the small and un-expandable system partition
Any ideas on how to get
sudo to read and use the variable?
I have tried running the restic commands with
restic check --with-cache --cache-dir /volume2/backup/restic/cache fails.
I cannot create an unprivileged user, as the
setcap command is not available.