source
will be the server that creates backups
target
will be the server that stores backups
- Install restic on
source
, for ubuntuapt-get install restic
- Create a ssh key pair on
source
(ssh-keygen -t ed25519
) ideally give it it a special name likehetzner-storagebox
- Push the shh key from
source
totarget
usingssh-copy-id
like this