Didn’t you mean to use,
restic -r sftp:uXXXXX@uXXXXX.your-storagebox.de:my-repo backup /home
instead of,
restic -r rclone:uXXXXX@uXXXXX.your-storagebox.de:my-repo backup /home
where rclone config
is,
[box]
type = sftp
host = uXXXXX.your-storagebox.de
user = uXXXXX
port = 23
pass = <obscured-password>
With port 23 it would have to be
restic -r sftp://uXXXXX@uXXXXX.your-storagebox.de:23/my-repo backup /home
You probably also want to setup an ssh key when using sftp via restic as otherwise you’ll have to type in the password each time: https://docs.hetzner.com/storage/storage-box/backup-space-ssh-keys#ssh-key-authentication-for-storage-boxes .
1 Like
I don’t recall any other complaints about data corruption on storage boxes.
Thanks for the clarification. Yes, I generated a key pair and set ssh config file for auto login.
It might be from my end. It is good to know that there is no complaint regarding data corruption about Hetzner too.