You may have worked it out, but for anyone else trying to run restic on a Synology NAS:
- Find your CPU architecture; start here https://www.synology.com/en-global/knowledgebase/DSM/tutorial/Compatibility_Peripherals/What_kind_of_CPU_does_my_NAS_have
And then google which architecture your CPU uses (i386, AMD64, ARM, ARM64) - Download the appropriate linux binary from https://github.com/restic/restic/releases/latest
- Unpack it in /usr/local/bin/ and symlink the binary to /usr/local/bin/restic
(tar -xavf restic_0.9.5_linux_arm.bz2
) (ln -s /usr/local/bin/restic /usr/local/bin/restic_0.9.5_linux_arm
) - You may have to set the correct permissions with
chmod
- Before you run restic, you may have to specify the environment variable
$TMPDIR
since the default/tmp/
is too small (on my device). - Now you can run restic by simply typing
restic
. Or via a scheduled task.